]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_resolve/src/def_collector.rs
Auto merge of #102988 - dpaoliello:inlinerawdylib, r=dpaoliello
[rust.git] / compiler / rustc_resolve / src / def_collector.rs
index 38a3c9dd71a5ef2f5dcc250ea476b1876cc05049..d36e0f61d9161967b94106cb90bd59e63bb7a7ef 100644 (file)
@@ -239,7 +239,7 @@ fn visit_generic_param(&mut self, param: &'a GenericParam) {
     fn visit_assoc_item(&mut self, i: &'a AssocItem, ctxt: visit::AssocCtxt) {
         let def_data = match &i.kind {
             AssocItemKind::Fn(..) | AssocItemKind::Const(..) => DefPathData::ValueNs(i.ident.name),
-            AssocItemKind::TyAlias(..) => DefPathData::TypeNs(i.ident.name),
+            AssocItemKind::Type(..) => DefPathData::TypeNs(i.ident.name),
             AssocItemKind::MacCall(..) => return self.visit_macro_invoc(i.id),
         };