mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
Auto merge of #5242 - matthiaskrgr:5238_test, r=flip1995
add test for #5238 changelog: none
This commit is contained in:
commit
a94b2c1f7d
1 changed files with 9 additions and 0 deletions
9
tests/ui/crashes/ice-5238.rs
Normal file
9
tests/ui/crashes/ice-5238.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
// Regression test for #5238 / https://github.com/rust-lang/rust/pull/69562
|
||||
|
||||
#![feature(generators, generator_trait)]
|
||||
|
||||
fn main() {
|
||||
let _ = || {
|
||||
yield;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue