]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issue-93647.rs
Rollup merge of #107525 - RalfJung:pointee-info, r=eddyb
[rust.git] / tests / ui / const-generics / issue-93647.rs
1 struct X<const N: usize = {
2     (||1usize)()
3     //~^ ERROR cannot call non-const closure
4 }>;
5
6 fn main() {}