about summary refs log tree commit diff
path: root/tests/ui/async-await/issues/issue-107280.rs
blob: 18c1962669f3dc702e69203f17ef3a8d04d2545a (plain)
1
2
3
4
5
6
7
8
9
10
//@ 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() {}