We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e8c698b + 9178693 commit 2c56f19Copy full SHA for 2c56f19
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