]> git.lizzy.rs Git - rust.git/blob - tests/ui/generator/issue-102645.stderr
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / ui / generator / issue-102645.stderr
1 error[E0061]: this method takes 1 argument but 0 arguments were supplied
2   --> $DIR/issue-102645.rs:16:22
3    |
4 LL |     Pin::new(&mut b).resume();
5    |                      ^^^^^^-- an argument of type `()` is missing
6    |
7 note: associated function defined here
8   --> $SRC_DIR/core/src/ops/generator.rs:LL:COL
9 help: provide the argument
10    |
11 LL |     Pin::new(&mut b).resume(());
12    |                            ~~~~
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0061`.