]>
Commit | Line | Data |
---|---|---|
94b46f34 | 1 | error[E0658]: yield syntax is experimental (see issue #43122) |
ff7c6d11 XL |
2 | --> $DIR/feature-gate-generators.rs:12:5 |
3 | | | |
0531ce1d | 4 | LL | yield true; //~ ERROR yield syntax is experimental |
ff7c6d11 XL |
5 | | ^^^^^^^^^^ |
6 | | | |
7 | = help: add #![feature(generators)] to the crate attributes to enable | |
8 | ||
9 | error: aborting due to previous error | |
10 | ||
0531ce1d | 11 | For more information about this error, try `rustc --explain E0658`. |