about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-06-06 14:46:25 -0700
committerGitHub <noreply@github.com>2024-06-06 14:46:25 -0700
commitefd8959ab1bf30c098917af144db72ad08175bc6 (patch)
tree33796f676f72ab1ec4292f6376f3cb71780d7c6e /library/core/src
parent7e81738d5cff93329dd5cbd530380b88f8d54d2c (diff)
parenta8084dcec1d2d36c286ca0e2c384e7bf5cfeffce (diff)
downloadrust-efd8959ab1bf30c098917af144db72ad08175bc6.tar.gz
rust-efd8959ab1bf30c098917af144db72ad08175bc6.zip
Rollup merge of #126096 - c410-f3r:tests-tests-tests, r=jhpratt
[RFC-2011] Allow `core_intrinsics` when activated

Fix #120612
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/macros/mod.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/library/core/src/macros/mod.rs b/library/core/src/macros/mod.rs
index 2ddedfa37fe..0d4ca4d5f01 100644
--- a/library/core/src/macros/mod.rs
+++ b/library/core/src/macros/mod.rs
@@ -1569,7 +1569,12 @@ pub(crate) mod builtin {
     #[rustc_builtin_macro]
     #[macro_export]
     #[rustc_diagnostic_item = "assert_macro"]
-    #[allow_internal_unstable(panic_internals, edition_panic, generic_assert_internals)]
+    #[allow_internal_unstable(
+        core_intrinsics,
+        panic_internals,
+        edition_panic,
+        generic_assert_internals
+    )]
     macro_rules! assert {
         ($cond:expr $(,)?) => {{ /* compiler built-in */ }};
         ($cond:expr, $($arg:tt)+) => {{ /* compiler built-in */ }};