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:
bors 2023-12-18 17:33:20 +00:00
commit 0ed815faca
4 changed files with 9 additions and 0 deletions

View file

@ -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 {