rust-clippy/tests/ui/crashes/ice-5238.rs
2020-02-28 22:00:20 +01:00

9 lines
172 B
Rust

// Regression test for #5238 / https://github.com/rust-lang/rust/pull/69562
#![feature(generators, generator_trait)]
fn main() {
let _ = || {
yield;
};
}