]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_lint/builtin.rs
Rollup merge of #67979 - Centril:hir-cleanup, r=Zoxc
[rust.git] / src / librustc_lint / builtin.rs
index 213ca308d5636d4feadeef226a45185b76834a91..23740af525971e98d34e0b8b5cd1811cce7bc462 100644 (file)
@@ -1089,7 +1089,7 @@ fn suggest_changing_assoc_types(ty: &hir::Ty<'_>, err: &mut DiagnosticBuilder<'_
         // bound.  Let's see if this type does that.
 
         // We use a HIR visitor to walk the type.
-        use rustc::hir::intravisit::{self, Visitor};
+        use rustc_hir::intravisit::{self, Visitor};
         struct WalkAssocTypes<'a, 'db> {
             err: &'a mut DiagnosticBuilder<'db>,
         }