back-ticks

This commit is contained in:
Lenny222 2013-05-09 15:46:32 +02:00
parent ca95e7f94e
commit e3230330b7
2 changed files with 2 additions and 2 deletions

View file

@ -3310,7 +3310,7 @@ pub impl Parser {
}
}
if fields.len() == 0 {
self.fatal(fmt!("Unit-like struct should be written as: struct %s;",
self.fatal(fmt!("Unit-like struct should be written as `struct %s;`",
*self.interner.get(class_name)));
}
self.bump();

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// error-pattern: Unit-like struct should be written as: struct Foo;
// error-pattern: Unit-like struct should be written as `struct Foo;`
struct Foo {}
fn main() {}