We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0163ccc commit 99b6247Copy full SHA for 99b6247
src/test/compile-fail/consider-removing-last-semi.rs
@@ -14,4 +14,10 @@ fn f() -> String { //~ ERROR E0269
14
"bla".to_string(); //~ HELP consider removing this semicolon
15
}
16
17
+fn g() -> String { //~ ERROR E0269
18
+ //~^ HELP detailed explanation
19
+ "this won't work".to_string();
20
+ "removeme".to_string(); //~ HELP consider removing this semicolon
21
+}
22
+
23
fn main() {}
0 commit comments