summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0283.stderr
blob: 3f63881b61e4ddd92fa0e7e92682cff46c455413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0283]: type annotations required: cannot resolve `_: Generator`
  --> $DIR/E0283.rs:28:21
   |
LL |     let cont: u32 = Generator::create(); //~ ERROR E0283
   |                     ^^^^^^^^^^^^^^^^^
   |
note: required by `Generator::create`
  --> $DIR/E0283.rs:12:5
   |
LL |     fn create() -> u32;
   |     ^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

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