Skip to content

Commit

Permalink
Rollup merge of rust-lang#126096 - c410-f3r:tests-tests-tests, r=jhpratt
Browse files Browse the repository at this point in the history
[RFC-2011] Allow `core_intrinsics` when activated

Fix rust-lang#120612
  • Loading branch information
workingjubilee authored Jun 6, 2024
2 parents 051c6c6 + 5736944 commit fa66a61
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 @@ -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 */ }};
Expand Down

0 comments on commit fa66a61

Please sign in to comment.