we now get an extra unreachable code warning in this test
This commit is contained in:
parent
5cd99aa167
commit
2f526cc897
@ -16,5 +16,6 @@
|
||||
fn main() {
|
||||
let x: ! = panic!("aah"); //~ ERROR unused
|
||||
drop(x); //~ ERROR unreachable
|
||||
//~^ ERROR unreachable
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user