We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8c698b commit 9178693Copy full SHA for 9178693
library/core/src/macros/mod.rs
@@ -40,7 +40,7 @@ pub macro const_panic {
40
// add the `rustc_allow_const_fn_unstable`. This is okay to do
41
// because both variants will panic, just with different messages.
42
#[rustc_allow_const_fn_unstable(const_eval_select)]
43
- #[inline(always)]
+ #[inline]
44
#[track_caller]
45
#[cfg_attr(bootstrap, rustc_const_stable(feature = "const_panic", since = "CURRENT_RUSTC_VERSION"))]
46
const fn do_panic($($arg: $ty),*) -> ! {
0 commit comments