blob: 0c2337e27a70052581d8808ae525b26a1b75d6ae [file] [log] [blame]
error[E0658]: yield syntax is experimental (see issue #43122)
--> $DIR/feature-gate-generators.rs:12:5
|
LL | yield true; //~ ERROR yield syntax is experimental
| ^^^^^^^^^^
|
= help: add #![feature(generators)] to the crate attributes to enable
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.