1 error[E0308]: mismatched types
2 --> $DIR/dont-point-return-on-E0308.rs:11:11
7 | | expected `&()`, found `()`
8 | | help: consider borrowing here: `&()`
9 | arguments to this function are incorrect
11 note: function defined here
12 --> $DIR/dont-point-return-on-E0308.rs:3:10
14 LL | async fn f(_: &()) {}
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0308`.