summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0283.stderr
blob: e1f53e592fc85860dce00724d5b155511eca5ce1 (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:18:21
   |
LL |     let cont: u32 = Generator::create();
   |                     ^^^^^^^^^^^^^^^^^
   |
note: required by `Generator::create`
  --> $DIR/E0283.rs:2:5
   |
LL |     fn create() -> u32;
   |     ^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

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