Skip to content

Commit 8f3a424

Browse files
committed
Fix the obsolete message
1 parent e0684e8 commit 8f3a424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/obsolete.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl<'a> ParserObsoleteMethods for parser::Parser<'a> {
9595
"write `extern crate bar as foo` instead"
9696
),
9797
ObsoleteSyntax::Sized => (
98-
"`T: ?Sized` syntax for removing the `Sized` bound",
98+
"`Sized? T` syntax for removing the `Sized` bound",
9999
"write `T: ?Sized` instead"
100100
),
101101
};

0 commit comments

Comments
 (0)