Skip to content

Commit b61f18d

Browse files
committed
Re-run fmt
1 parent 7124472 commit b61f18d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

compiler/rustc_passes/src/stability.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,11 @@ impl<'tcx> Visitor<'tcx> for Checker<'tcx> {
813813
Some(id),
814814
path.span,
815815
method_span,
816-
if is_unstable_reexport(self.tcx, id) { AllowUnstable::Yes } else { AllowUnstable::No },
816+
if is_unstable_reexport(self.tcx, id) {
817+
AllowUnstable::Yes
818+
} else {
819+
AllowUnstable::No
820+
},
817821
)
818822
}
819823
intravisit::walk_path(self, path)

src/test/ui/stability-attribute/allow-unstable-reexport.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub use lint_stability::unstable;
1414
// We want to confirm that using a re-export through another crate behaves
1515
// the same way as using an item directly
1616
#[unstable(feature = "unstable_test_feature", issue = "none")]
17-
pub use lint_stability_reexport::unstable_text;
17+
pub use lint_stability_reexport::unstable_text;
1818

1919
// Ensure items which aren't marked as unstable can't re-export unstable items
2020
#[stable(feature = "lint_stability", since = "1.0.0")]

0 commit comments

Comments
 (0)