fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0053]: method `owo` has an incompatible type for trait 2 --> $DIR/method-signature-matches.rs:25:21 3 | 4LL | async fn owo(_: u8) {} 5 | ^^ 6 | | 7 | expected `()`, found `u8` 8 | help: change the parameter type to match the trait: `()` 9 | 10note: type in trait 11 --> $DIR/method-signature-matches.rs:20:21 12 | 13LL | async fn owo(x: ()) {} 14 | ^^ 15 = note: expected signature `fn(()) -> _` 16 found signature `fn(u8) -> _` 17 18error: aborting due to previous error 19 20For more information about this error, try `rustc --explain E0053`.