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 4120702 commit a193942Copy full SHA for a193942
src/test/pretty/block-disambig.rs
@@ -7,7 +7,8 @@
7
8
use std::cell::Cell;
9
10
-fn test1() { let val = &0; { } let _ = *val; }
+#[allow(unused_must_use)]
11
+fn test1() { let val = &0; { } *val; }
12
13
fn test2() -> isize { let val = &0; { } *val }
14
src/test/pretty/unary-op-disambig.rs
@@ -16,4 +16,5 @@ fn alt_semi() -> isize { match true { true => { f() } _ => { } }; -1 }
16
17
fn alt_no_semi() -> isize { (match true { true => { 0 } _ => { 1 } }) - 1 }
18
19
-fn stmt() { { f() }; let _ = -1; }
20
+fn stmt() { { f() }; -1; }
0 commit comments