about summary refs log tree commit diff
path: root/compiler/rustc_feature/src
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2024-05-31 16:57:07 -0300
committerSantiago Pastorino <spastorino@gmail.com>2024-06-05 09:35:57 -0300
commit0380321e7806bdab232d7e95be2de47fad8f3c09 (patch)
treeff816fc584906f75507dd8f60dbf9f3dc79e9197 /compiler/rustc_feature/src
parentbac72cf7cf823bbf10e7d093a8225490bf8d1350 (diff)
downloadrust-0380321e7806bdab232d7e95be2de47fad8f3c09.tar.gz
rust-0380321e7806bdab232d7e95be2de47fad8f3c09.zip
Add unsafe_extern_blocks feature flag
Diffstat (limited to 'compiler/rustc_feature/src')
-rw-r--r--compiler/rustc_feature/src/unstable.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs
index 8de2cdefa81..486de706e52 100644
--- a/compiler/rustc_feature/src/unstable.rs
+++ b/compiler/rustc_feature/src/unstable.rs
@@ -624,6 +624,8 @@ declare_features! (
     (unstable, type_changing_struct_update, "1.58.0", Some(86555)),
     /// Allows unnamed fields of struct and union type
     (incomplete, unnamed_fields, "1.74.0", Some(49804)),
+    /// Allows unsafe on extern declarations and safety qualifiers over internal items.
+    (unstable, unsafe_extern_blocks, "CURRENT_RUSTC_VERSION", Some(123743)),
     /// Allows unsized fn parameters.
     (unstable, unsized_fn_params, "1.49.0", Some(48055)),
     /// Allows unsized rvalues at arguments and parameters.