Update dead-code-closure-bang
This stdlib function went away, so update it to use current syntax.
This commit is contained in:
parent
bba934f19a
commit
13b9a725ea
@ -15,5 +15,5 @@
|
||||
fn main() {
|
||||
let x = || panic!();
|
||||
x();
|
||||
std::io::println("Foo bar"); //~ ERROR: unreachable statement
|
||||
println!("Foo bar"); //~ ERROR: unreachable statement
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user