Skip to content

Commit 4898d8a

Browse files
authored
fix: unused variable
1 parent 5172129 commit 4898d8a

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_privacy/src

1 file changed

+1
-1
lines changed

compiler/rustc_privacy/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ impl Visitor<'tcx> for EmbargoVisitor<'tcx> {
680680
// Re-exports are handled in `visit_mod`. However, in order to avoid looping over
681681
// all of the items of a mod in `visit_mod` looking for use statements, we handle
682682
// making sure that intermediate use statements have their visibilities updated here.
683-
hir::ItemKind::Use(ref path, ..) => {
683+
hir::ItemKind::Use(..) => {
684684
if item.vis.node.is_pub() {
685685
let access_level = self.tcx.get_resolver_access_level(item.def_id);
686686
self.update(item.hir_id(), access_level);

0 commit comments

Comments
 (0)