diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2025-08-12 12:52:39 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2025-08-12 12:52:39 +0200 |
| commit | 08acba30718281a068ab978f8feded9b871ec9db (patch) | |
| tree | 10a474633d3a16e48c4c1386db8258e93fcfb536 /compiler/rustc_feature | |
| parent | a1531335fe2807715fff569904d99602022643a7 (diff) | |
| download | rust-08acba30718281a068ab978f8feded9b871ec9db.tar.gz rust-08acba30718281a068ab978f8feded9b871ec9db.zip | |
Revert "Partially outline code inside the panic! macro".
Without any tests/benchmarks that show some improvement, it's hard to know whether the change had any positive effect at all. (And if it did, whether that effect is still achieved today.)
Diffstat (limited to 'compiler/rustc_feature')
| -rw-r--r-- | compiler/rustc_feature/src/builtin_attrs.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs index 5c63d4808db..5c1f3a37563 100644 --- a/compiler/rustc_feature/src/builtin_attrs.rs +++ b/compiler/rustc_feature/src/builtin_attrs.rs @@ -930,10 +930,6 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ EncodeCrossCrate::Yes, "`#[rustc_do_not_const_check]` skips const-check for this function's body", ), rustc_attr!( - rustc_const_panic_str, Normal, template!(Word), WarnFollowing, - EncodeCrossCrate::Yes, "`#[rustc_const_panic_str]` ensures the argument to this function is &&str during const-check", - ), - rustc_attr!( rustc_const_stable_indirect, Normal, template!(Word), WarnFollowing, |
