diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-03-01 19:28:09 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-01 19:28:09 +0900 |
| commit | 48ec25224b1e252608a0458585dc5e0847ed91c4 (patch) | |
| tree | d40b9c2b40eaa924267f9ac0463a501fdd13ff24 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 559e5ab7ad564d3c30b8da2c067942aaaa7c985f (diff) | |
| parent | 52ad1e73ceddcc746d2b6e01f238860cf4c53bde (diff) | |
| download | rust-48ec25224b1e252608a0458585dc5e0847ed91c4.tar.gz rust-48ec25224b1e252608a0458585dc5e0847ed91c4.zip | |
Rollup merge of #69562 - ecstatic-morse:dataflow-generator-discriminant, r=oli-obk
Don't `bug` when taking discriminant of generator during dataflow The proper fix for rust-lang/rust-clippy#5239. `Rvalue::Discriminant` is used on generators as well as `enum`s. This didn't cause a test failure in `rustc` since we don't need to do any dataflow passes until after the generator transform that adds the `Rvalue::Discriminant`. This required a small refactoring. `diff -w` is beneficial. r? @oli-obk cc @JohnTitor
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
