Support rustc_skip_during_method_dispatch

This commit is contained in:
Lukas Wirth 2024-07-17 11:45:23 +02:00
parent b8cac1bb6b
commit 92268627a8
5 changed files with 94 additions and 17 deletions

View file

@ -20,6 +20,10 @@ impl Edition {
self >= Edition::Edition2024
}
pub fn at_least_2021(self) -> bool {
self >= Edition::Edition2021
}
pub fn at_least_2018(self) -> bool {
self >= Edition::Edition2018
}