]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issue-106419-struct-with-multiple-const-params.rs
Rollup merge of #107091 - clubby789:infer-ftl-missing-dollar, r=compiler-errors
[rust.git] / tests / ui / const-generics / issue-106419-struct-with-multiple-const-params.rs
1 // check-pass
2 #![feature(generic_const_exprs)]
3 #![allow(incomplete_features)]
4
5 #[derive(Clone)]
6 struct Bar<const A: usize, const B: usize>
7 where
8     [(); A as usize]:,
9     [(); B as usize]:,
10 {}
11
12 fn main() {}