mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Support rustc_skip_during_method_dispatch
This commit is contained in:
parent
b8cac1bb6b
commit
92268627a8
5 changed files with 94 additions and 17 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue