about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lib.rs
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2025-03-26 19:44:53 +0100
committerFolkert de Vries <folkert@folkertdev.nl>2025-04-07 21:42:12 +0200
commit8866af388497e9ed3254147c015379d5d6cdb054 (patch)
tree2e1fd4da75487598fabe9d1f0722cd1fbe561b65 /compiler/rustc_lint/src/lib.rs
parent19cab6b878ab18dce4816d85ac52b317214c485f (diff)
downloadrust-8866af388497e9ed3254147c015379d5d6cdb054.tar.gz
rust-8866af388497e9ed3254147c015379d5d6cdb054.zip
Add `naked_functions_rustic_abi` feature gate
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
-rw-r--r--compiler/rustc_lint/src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs
index c38a7540018..1863ba8f8fb 100644
--- a/compiler/rustc_lint/src/lib.rs
+++ b/compiler/rustc_lint/src/lib.rs
@@ -604,6 +604,11 @@ fn register_builtins(store: &mut LintStore) {
         "converted into hard error, see issue #127323 \
          <https://github.com/rust-lang/rust/issues/127323> for more information",
     );
+    store.register_removed(
+        "undefined_naked_function_abi",
+        "converted into hard error, see PR #139001 \
+         <https://github.com/rust-lang/rust/issues/139001> for more information",
+    );
 }
 
 fn register_internals(store: &mut LintStore) {