From 65e1e3b5ce3afe21119687442e60c3e696ad6b7b Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sat, 11 Jul 2026 17:34:45 -0700 Subject: [PATCH] missing_unsafe_on_extern: Set MSRV to 1.82 `unsafe extern` blocks were stabilized in 1.82: https://github.com/rust-lang/rust/pull/127921 --- compiler/rustc_lint_defs/src/builtin.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index 693737bd89bdd..0000ba662d0cc 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -4952,6 +4952,7 @@ declare_lint! { @future_incompatible = FutureIncompatibleInfo { reason: fcw!(EditionError 2024 "unsafe-extern"), }; + @msrv = "1.82"; } declare_lint! {