Move #[allow(unreachable_code)]
in tests/run-pass/generator.rs
This commit is contained in:
parent
08ca5606ab
commit
7301fe118a
@ -1 +1 @@
|
|||||||
f66e825f73d2bd7f8a763b723983850f891985b0
|
c4be230b4a30eb74e3a3908455731ebc2f731d3d
|
||||||
|
@ -93,8 +93,8 @@ fn basic() {
|
|||||||
if b { return; }
|
if b { return; }
|
||||||
#[allow(unused)]
|
#[allow(unused)]
|
||||||
let x = never();
|
let x = never();
|
||||||
yield 2;
|
|
||||||
#[allow(unreachable_code)]
|
#[allow(unreachable_code)]
|
||||||
|
yield 2;
|
||||||
drop(x);
|
drop(x);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user