We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 610bcea commit 1e29b36Copy full SHA for 1e29b36
tests/ui/crashes/ice-5238.rs
@@ -0,0 +1,9 @@
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
+}
0 commit comments