summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/issue-93647.rs
blob: a0083a0c6291f8fd3df6dce0062213c93cbfd069 (plain)
1
2
3
4
5
6
7
struct X<const N: usize = {
    (||1usize)()
    //~^ ERROR cannot call non-const closure
    //~| ERROR the trait bound
}>;

fn main() {}