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 4ed2800 commit cd4205aCopy full SHA for cd4205a
src/libsyntax/parse/obsolete.rs
@@ -58,8 +58,8 @@ impl<'a> ParserObsoleteMethods for parser::Parser<'a> {
58
let (kind_str, desc) = match kind {
59
ObsoleteForSized => (
60
"for Sized?",
61
- "no longer required, traits apply to sized and unsized types by default, use \
62
- `: Sized` to opt-out of unsized types",
+ "no longer required. Traits (and their `Self` type) do not have the `Sized` bound \
+ by default",
63
),
64
ObsoleteProcType => (
65
"the `proc` type",
0 commit comments