]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/const-param-after-const-literal-arg.rs
Rollup merge of #87742 - npmccallum:naked_ffi, r=Amanieu
[rust.git] / src / test / ui / const-generics / const-param-after-const-literal-arg.rs
1 // check-pass
2 // revisions: full min
3
4 #![cfg_attr(full, feature(const_generics))]
5 #![cfg_attr(full, allow(incomplete_features))]
6
7 struct Foo<const A: usize, const B: usize>;
8
9 impl<const A: usize> Foo<1, A> {} // ok
10
11 fn main() {}