mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Auto merge of #16151 - lnicola:minimal-2024-edition, r=davidbarsky
internal: Add minimal support for the 2024 edition CC #16146
This commit is contained in:
commit
0ed815faca
4 changed files with 9 additions and 0 deletions
|
@ -551,6 +551,8 @@ impl DefCollector<'_> {
|
|||
Edition::Edition2015 => name![rust_2015],
|
||||
Edition::Edition2018 => name![rust_2018],
|
||||
Edition::Edition2021 => name![rust_2021],
|
||||
// FIXME: update this when rust_2024 exists
|
||||
Edition::Edition2024 => name![rust_2021],
|
||||
};
|
||||
|
||||
let path_kind = match self.def_map.data.edition {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue