Skip to content

Commit

Permalink
Fix the obsolete message
Browse files Browse the repository at this point in the history
  • Loading branch information
nrc committed Jan 6, 2015
1 parent e0684e8 commit 8f3a424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/parse/obsolete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ impl<'a> ParserObsoleteMethods for parser::Parser<'a> {
"write `extern crate bar as foo` instead"
),
ObsoleteSyntax::Sized => (
"`T: ?Sized` syntax for removing the `Sized` bound",
"`Sized? T` syntax for removing the `Sized` bound",
"write `T: ?Sized` instead"
),
};
Expand Down

0 comments on commit 8f3a424

Please sign in to comment.