Skip to content
forked from rust-lang/rust
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5736944

Browse files
committedJun 6, 2024
[RFC-2011] Allow core_intrinsics when activated
1 parent 8c9555c commit 5736944

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎core/src/macros/mod.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,12 @@ pub(crate) mod builtin {
15341534
#[rustc_builtin_macro]
15351535
#[macro_export]
15361536
#[rustc_diagnostic_item = "assert_macro"]
1537-
#[allow_internal_unstable(panic_internals, edition_panic, generic_assert_internals)]
1537+
#[allow_internal_unstable(
1538+
core_intrinsics,
1539+
panic_internals,
1540+
edition_panic,
1541+
generic_assert_internals
1542+
)]
15381543
macro_rules! assert {
15391544
($cond:expr $(,)?) => {{ /* compiler built-in */ }};
15401545
($cond:expr, $($arg:tt)+) => {{ /* compiler built-in */ }};

0 commit comments

Comments
 (0)
Failed to load comments.