about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2015-01-06 14:25:06 +1300
committerNick Cameron <ncameron@mozilla.com>2015-01-06 14:25:06 +1300
commit8f3a424322f5609f75aab2313dc93b0ad73e2670 (patch)
tree30779ceead2ce4168c4154ebb94f95d52b4daa25 /src/libsyntax/parse
parente0684e876954ad5a713e6f985570162cedcae8df (diff)
downloadrust-8f3a424322f5609f75aab2313dc93b0ad73e2670.tar.gz
rust-8f3a424322f5609f75aab2313dc93b0ad73e2670.zip
Fix the obsolete message
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/obsolete.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/obsolete.rs b/src/libsyntax/parse/obsolete.rs
index 299cf7e941b..d1b6034457d 100644
--- a/src/libsyntax/parse/obsolete.rs
+++ b/src/libsyntax/parse/obsolete.rs
@@ -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"
             ),
         };