Skip to content

Commit 07608bd

Browse files
committed
fix const_trait unstable message
1 parent a77f4bc commit 07608bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_feature/src/builtin_attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
468468
// RFC 2632
469469
gated!(
470470
const_trait, Normal, template!(Word), WarnFollowing, const_trait_impl,
471-
"`const` is a temporary placeholder for marking a trait that is suitable for `const` \
471+
"`const_trait` is a temporary placeholder for marking a trait that is suitable for `const` \
472472
`impls` and all default bodies as `const`, which may be removed or renamed in the \
473473
future."
474474
),

0 commit comments

Comments
 (0)