summaryrefslogtreecommitdiffstats
path: root/tests/ui/lang-items/lang-item-missing-generator.stderr
blob: a24fdb5fb6506402239d1a2feaad67d0f70ccf70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
  --> $DIR/lang-item-missing-generator.rs:17:17
   |
LL | pub fn abc() -> impl FnOnce(f32) {
   |                 ^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0635`.