blob: 82acb4013380216f52df82cb76bf2b11d32f7a3b [file] [log] [blame]
error: yield syntax is experimental
--> $DIR/feature-gate-generators.rs:12:5
|
12 | yield true; //~ ERROR yield syntax is experimental
| ^^^^^^^^^^
|
= help: add #![feature(generators)] to the crate attributes to enable
error: aborting due to previous error