diff options
| author | bors <bors@rust-lang.org> | 2024-07-09 06:51:35 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-09 06:51:35 +0000 |
| commit | 5be2ec7245de6e8015a0daedf24d20e3e5bf2062 (patch) | |
| tree | d6dbc424f2d3f400c49b2ee30a713228dcde18c5 /compiler/rustc_feature/src | |
| parent | cd3d98b3bef709c1f42b1964ba7a3ea371f95773 (diff) | |
| parent | 46af9870727abe142963c9873e960242188dbaab (diff) | |
| download | rust-5be2ec7245de6e8015a0daedf24d20e3e5bf2062.tar.gz rust-5be2ec7245de6e8015a0daedf24d20e3e5bf2062.zip | |
Auto merge of #127200 - fee1-dead-contrib:trait_def_const_trait, r=compiler-errors
Add `constness` to `TraitDef` Second attempt at fixing the regression @ https://github.com/rust-lang/rust/pull/120639#issuecomment-2198373716 r? project-const-traits
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/builtin_attrs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs index 910402d5499..7b27049a579 100644 --- a/compiler/rustc_feature/src/builtin_attrs.rs +++ b/compiler/rustc_feature/src/builtin_attrs.rs @@ -556,7 +556,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ ), // RFC 2632 gated!( - const_trait, Normal, template!(Word), WarnFollowing, EncodeCrossCrate::Yes, const_trait_impl, + const_trait, Normal, template!(Word), WarnFollowing, EncodeCrossCrate::No, const_trait_impl, "`const_trait` is a temporary placeholder for marking a trait that is suitable for `const` \ `impls` and all default bodies as `const`, which may be removed or renamed in the \ future." |
