rust/tests/ui/async-await/issues/issue-107280.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
666 B
Plaintext
Raw Normal View History

error[E0107]: function takes 2 generic arguments but 1 generic argument was supplied
--> $DIR/issue-107280.rs:4:5
|
LL | inner::<false>().await
| ^^^^^ ----- supplied 1 generic argument
| |
| expected 2 generic arguments
|
note: function defined here, with 2 generic parameters: `T`, `PING`
2023-06-24 05:02:54 -05:00
--> $DIR/issue-107280.rs:8:10
|
LL | async fn inner<T, const PING: bool>() {}
| ^^^^^ - ----------------
help: add missing generic argument
|
LL | inner::<false, PING>().await
| ++++++
error: aborting due to 1 previous error
2023-06-24 05:02:54 -05:00
For more information about this error, try `rustc --explain E0107`.