]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/type-after-const-ok.rs
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / tests / ui / const-generics / type-after-const-ok.rs
1 // run-pass
2 // Verifies that having generic parameters after constants is permitted
3 #[allow(dead_code)]
4 struct A<const N: usize, T>(T);
5
6 fn main() {}