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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue