rust/tests/ui/async-await/issues/issue-107280.rs
Camille GILLOT 211d2ed07b Bless tests.
2023-09-23 13:47:30 +00:00

11 lines
206 B
Rust

// edition:2021
async fn foo() {
inner::<false>().await
//~^ ERROR: function takes 2 generic arguments but 1 generic argument was supplied
}
async fn inner<T, const PING: bool>() {}
fn main() {}