]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issue-93647.rs
Rollup merge of #106470 - ehuss:tidy-no-wasm, r=Mark-Simulacrum
[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() {}