We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e3d8d2 commit 2f96fbeCopy full SHA for 2f96fbe
compiler/rustc_passes/src/check_attr.rs
@@ -2181,7 +2181,7 @@ impl CheckAttrVisitor<'_> {
2181
attr.name_or_empty()
2182
)
2183
} else if attr.name_or_empty() == sym::default_method_body_is_const {
2184
- format!("`default_method_body_is_const` has been removed")
+ format!("`default_method_body_is_const` has been replaced with `#[const_trait]` on traits")
2185
} else {
2186
return;
2187
};
0 commit comments