fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0107]: function takes 2 generic arguments but 1 generic argument was supplied 2 --> $DIR/issue-107280.rs:4:5 3 | 4LL | inner::<false>().await 5 | ^^^^^ ----- supplied 1 generic argument 6 | | 7 | expected 2 generic arguments 8 | 9note: function defined here, with 2 generic parameters: `T`, `PING` 10 --> $DIR/issue-107280.rs:8:10 11 | 12LL | async fn inner<T, const PING: bool>() {} 13 | ^^^^^ - ---------------- 14help: add missing generic argument 15 | 16LL | inner::<false, PING>().await 17 | ++++++ 18 19error: aborting due to previous error 20 21For more information about this error, try `rustc --explain E0107`.