rust/tests/ui/lang-items/lang-item-missing-generator.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
513 B
Plaintext
Raw Normal View History

2022-07-30 00:37:48 -05:00
error[E0635]: unknown feature `tuple_trait`
--> $DIR/lang-item-missing-generator.rs:2:51
|
LL | #![feature(no_core, lang_items, unboxed_closures, tuple_trait)]
| ^^^^^^^^^^^
error: requires `generator` lang_item
2022-07-30 00:37:48 -05:00
--> $DIR/lang-item-missing-generator.rs:17:17
|
LL | pub fn abc() -> impl FnOnce(f32) {
| ^^^^^^^^^^^^^^^^
2022-07-30 00:37:48 -05:00
error: aborting due to 2 previous errors
2022-07-30 00:37:48 -05:00
For more information about this error, try `rustc --explain E0635`.