We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d536c18 + 6e53402 commit 95edcb0Copy full SHA for 95edcb0
compiler/rustc_passes/src/stability.rs
@@ -828,7 +828,7 @@ impl<'tcx> Visitor<'tcx> for Checker<'tcx> {
828
/// See issue #94972 for details on why this is a special case
829
fn is_unstable_reexport<'tcx>(tcx: TyCtxt<'tcx>, id: hir::HirId) -> bool {
830
// 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};
+ let Some(def_id) = tcx.hir().opt_local_def_id(id) else { return false; };
832
833
let Some(stab) = tcx.stability().local_stability(def_id) else {
834
return false;
0 commit comments