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

error: aborting due to previous error

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