Skip to content

Commit

Permalink
Update dead-code-closure-bang
Browse files Browse the repository at this point in the history
This stdlib function went away, so update it to use current syntax.
  • Loading branch information
steveklabnik committed Jun 12, 2015
1 parent bba934f commit 13b9a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/dead-code-closure-bang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
fn main() {
let x = || panic!();
x();
std::io::println("Foo bar"); //~ ERROR: unreachable statement
println!("Foo bar"); //~ ERROR: unreachable statement
}

0 comments on commit 13b9a72

Please sign in to comment.