Commit d4a76a9
committed
Auto merge of #1880 - hyd-dev:rustup, r=oli-obk
Move `#[allow(unreachable_code)]` in `tests/run-pass/generator.rs`
The warning now appears on `yield 2;` instead of `drop(x)`: https://github.com/rust-lang/miri/runs/3429959882?check_suite_focus=true#step:8:265
`yield 2;` seems indeed unreachable so I adjusted the `#[allow]`.2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | 96 | | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments