Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_def/src/item_tree/lower.rs')
| -rw-r--r-- | crates/hir_def/src/item_tree/lower.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/item_tree/lower.rs b/crates/hir_def/src/item_tree/lower.rs index 516a16bcf0..379e03504b 100644 --- a/crates/hir_def/src/item_tree/lower.rs +++ b/crates/hir_def/src/item_tree/lower.rs @@ -582,7 +582,7 @@ impl<'a> Ctx<'a> { } GenericsOwner::Trait(trait_def) => { // traits get the Self type as an implicit first type parameter - generics.tocs.alloc( + generics.type_or_consts.alloc( TypeParamData { name: Some(name![Self]), default: None, |