tweak the obsolete syntax message

This commit is contained in:
Jorge Aparicio 2015-01-05 15:19:38 -05:00
parent 4ed2800701
commit cd4205a970

View File

@ -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",