]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_passes/src/hir_stats.rs
Rollup merge of #105286 - willcrichton:maximal-hir-to-mir-coverage, r=cjgillot
[rust.git] / compiler / rustc_passes / src / hir_stats.rs
index 20951878e0032745764cb5a07ca04429ec08a94c..a7854cd49988f721806864a33570b646bc5379d2 100644 (file)
@@ -369,7 +369,7 @@ fn visit_fn(
         hir_visit::walk_fn(self, fk, fd, b, id)
     }
 
-    fn visit_use(&mut self, p: &'v hir::Path<'v>, hir_id: hir::HirId) {
+    fn visit_use(&mut self, p: &'v hir::UsePath<'v>, hir_id: hir::HirId) {
         // This is `visit_use`, but the type is `Path` so record it that way.
         self.record("Path", Id::None, p);
         hir_visit::walk_use(self, p, hir_id)