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 d215ce101f..45b5430a22 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.types.alloc( + generics.tocs.alloc( TypeParamData { name: Some(name![Self]), default: None, |