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

fn main() {}