Skip to content

Commit

Permalink
[RFC-2011] Allow core_intrinsics when activated
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Jun 6, 2024
1 parent 8c9555c commit 5736944
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,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 */ }};
Expand Down

0 comments on commit 5736944

Please sign in to comment.