Skip to content

Commit 13b9a72

Browse files
committed
Update dead-code-closure-bang
This stdlib function went away, so update it to use current syntax.
1 parent bba934f commit 13b9a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/dead-code-closure-bang.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
fn main() {
1616
let x = || panic!();
1717
x();
18-
std::io::println("Foo bar"); //~ ERROR: unreachable statement
18+
println!("Foo bar"); //~ ERROR: unreachable statement
1919
}

0 commit comments

Comments
 (0)