]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/crashes/ice-5238.rs
Rollup merge of #78769 - est31:remove_lifetimes, r=KodrAus
[rust.git] / src / tools / clippy / tests / ui / crashes / ice-5238.rs
1 // Regression test for #5238 / https://github.com/rust-lang/rust/pull/69562
2
3 #![feature(generators, generator_trait)]
4
5 fn main() {
6     let _ = || {
7         yield;
8     };
9 }