This commit is contained in:
Lukas Wirth 2024-06-21 18:27:05 +02:00
parent 480bfd5a7d
commit c01f4cf902
4 changed files with 27 additions and 27 deletions

View file

@ -923,6 +923,7 @@ pub enum GenericDefId {
ImplId(ImplId),
// enum variants cannot have generics themselves, but their parent enums
// can, and this makes some code easier to write
// FIXME: Try to remove this as that will reduce the amount of query slots generated per enum?
EnumVariantId(EnumVariantId),
// consts can have type parameters from their parents (i.e. associated consts of traits)
ConstId(ConstId),