Beef up test

This commit is contained in:
Jonas Schievink 2016-04-04 13:53:04 +02:00
parent 0163ccc36b
commit 99b6247166
1 changed files with 6 additions and 0 deletions

View File

@ -14,4 +14,10 @@ fn f() -> String { //~ ERROR E0269
"bla".to_string(); //~ HELP consider removing this semicolon
}
fn g() -> String { //~ ERROR E0269
//~^ HELP detailed explanation
"this won't work".to_string();
"removeme".to_string(); //~ HELP consider removing this semicolon
}
fn main() {}