]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/const-param-after-const-literal-arg.rs
Move generic error message to separate branches
[rust.git] / src / test / ui / const-generics / const-param-after-const-literal-arg.rs
1 // check-pass
2
3 struct Foo<const A: usize, const B: usize>;
4
5 impl<const A: usize> Foo<1, A> {} // ok
6
7 fn main() {}