Skip to content

Commit 8ec1279

Browse files
aryan-debugnyurik
authored andcommitted
fixed formatting issues
1 parent a094043 commit 8ec1279

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_privacy/src/errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub struct InPublicInterface<'a> {
7373
pub descr: DiagnosticArgFromDisplay<'a>,
7474
#[label(privacy_visibility_label)]
7575
pub vis_span: Span,
76-
#[suggestion(code="", applicability = "maybe-incorrect")]
76+
#[suggestion(code = "", applicability = "maybe-incorrect")]
7777
pub suggestion: Span,
7878
}
7979

compiler/rustc_privacy/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ impl<'a, 'tcx> Visitor<'tcx> for ObsoleteVisiblePrivateTypesVisitor<'a, 'tcx> {
16341634
}
16351635
if found_pub_static {
16361636
intravisit::walk_generics(self, &impl_.generics)
1637-
}
1637+
}
16381638
}
16391639
return;
16401640
}

0 commit comments

Comments
 (0)