fix const_trait
unstable message
This commit is contained in:
parent
a77f4bc6d3
commit
07608bd60e
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
||||||
// RFC 2632
|
// RFC 2632
|
||||||
gated!(
|
gated!(
|
||||||
const_trait, Normal, template!(Word), WarnFollowing, const_trait_impl,
|
const_trait, Normal, template!(Word), WarnFollowing, const_trait_impl,
|
||||||
"`const` is a temporary placeholder for marking a trait that is suitable for `const` \
|
"`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 \
|
`impls` and all default bodies as `const`, which may be removed or renamed in the \
|
||||||
future."
|
future."
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue