fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
424 B14 linesraw
1error[E0283]: type annotations needed
2  --> $DIR/E0283.rs:18:21
3   |
4LL |     fn create() -> u32;
5   |     ------------------- required by `Generator::create`
6...
7LL |     let cont: u32 = Generator::create();
8   |                     ^^^^^^^^^^^^^^^^^ cannot infer type
9   |
10   = note: cannot resolve `_: Generator`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0283`.