Skip to content

Commit 95edcb0

Browse files
committed
Merge remote-tracking branch 'origin/unstable-reexport' into unstable-reexport
2 parents d536c18 + 6e53402 commit 95edcb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_passes/src/stability.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ impl<'tcx> Visitor<'tcx> for Checker<'tcx> {
828828
/// See issue #94972 for details on why this is a special case
829829
fn is_unstable_reexport<'tcx>(tcx: TyCtxt<'tcx>, id: hir::HirId) -> bool {
830830
// Get the LocalDefId so we can lookup the item to check the kind.
831-
let Some(def_id) = tcx.hir().opt_local_def_id(id) else { return false};
831+
let Some(def_id) = tcx.hir().opt_local_def_id(id) else { return false; };
832832

833833
let Some(stab) = tcx.stability().local_stability(def_id) else {
834834
return false;

0 commit comments

Comments
 (0)