1 error[E0061]: this method takes 1 argument but 0 arguments were supplied
2 --> $DIR/issue-102645.rs:16:22
4 LL | Pin::new(&mut b).resume();
5 | ^^^^^^-- an argument of type `()` is missing
7 note: associated function defined here
8 --> $SRC_DIR/core/src/ops/generator.rs:LL:COL
9 help: provide the argument
11 LL | Pin::new(&mut b).resume(());
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0061`.