about summary refs log tree commit diff
path: root/compiler/rustc_span/src/symbol.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-17 00:16:20 +0200
committerGitHub <noreply@github.com>2025-04-17 00:16:20 +0200
commitbb3e156f62c8a7f2f88ff70d513f35e9c1ddc40f (patch)
treea20e5870572e82c1d870be7a858f19d187138636 /compiler/rustc_span/src/symbol.rs
parent78f2104e334068d5a892a170d50193c0025c690e (diff)
parentd17c04e4a220d6f7bf170eeb0f90498e215555fa (diff)
downloadrust-bb3e156f62c8a7f2f88ff70d513f35e9c1ddc40f.tar.gz
rust-bb3e156f62c8a7f2f88ff70d513f35e9c1ddc40f.zip
Rollup merge of #135340 - obeis:explicit-extern-abis, r=traviscross,nadrieril
Add `explicit_extern_abis` Feature and Enforce Explicit ABIs

The unstable `explicit_extern_abis` feature is introduced, requiring explicit ABIs in `extern` blocks. Hard errors will be enforced with this feature enabled in a future edition.

RFC rust-lang/rfcs#3722

Update #134986
Diffstat (limited to 'compiler/rustc_span/src/symbol.rs')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 2af567f2ec5..cc817d99cfa 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -916,6 +916,7 @@ symbols! {
         expf16,
         expf32,
         expf64,
+        explicit_extern_abis,
         explicit_generic_args_with_impl_trait,
         explicit_tail_calls,
         export_name,