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

fn main() {}