We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5172129 commit 4898d8aCopy full SHA for 4898d8a
compiler/rustc_privacy/src/lib.rs
@@ -680,7 +680,7 @@ impl Visitor<'tcx> for EmbargoVisitor<'tcx> {
680
// Re-exports are handled in `visit_mod`. However, in order to avoid looping over
681
// all of the items of a mod in `visit_mod` looking for use statements, we handle
682
// making sure that intermediate use statements have their visibilities updated here.
683
- hir::ItemKind::Use(ref path, ..) => {
+ hir::ItemKind::Use(..) => {
684
if item.vis.node.is_pub() {
685
let access_level = self.tcx.get_resolver_access_level(item.def_id);
686
self.update(item.hir_id(), access_level);
0 commit comments