tweak the obsolete syntax message
This commit is contained in:
parent
4ed2800701
commit
cd4205a970
1 changed files with 2 additions and 2 deletions
|
|
@ -58,8 +58,8 @@ impl<'a> ParserObsoleteMethods for parser::Parser<'a> {
|
|||
let (kind_str, desc) = match kind {
|
||||
ObsoleteForSized => (
|
||||
"for Sized?",
|
||||
"no longer required, traits apply to sized and unsized types by default, use \
|
||||
`: Sized` to opt-out of unsized types",
|
||||
"no longer required. Traits (and their `Self` type) do not have the `Sized` bound \
|
||||
by default",
|
||||
),
|
||||
ObsoleteProcType => (
|
||||
"the `proc` type",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue