mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
One more test
This commit is contained in:
parent
5b78907be7
commit
d25b4eeefb
@ -167,6 +167,11 @@ struct ConstParamNonZeroDefault<const N: usize = 1> {
|
|||||||
last: [usize; N],
|
last: [usize; N],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct TwoGenericParams<T, const N: usize> {
|
||||||
|
field: i32,
|
||||||
|
last: [T; N],
|
||||||
|
}
|
||||||
|
|
||||||
type A = ConstParamZeroDefault;
|
type A = ConstParamZeroDefault;
|
||||||
type B = ConstParamZeroDefault<0>;
|
type B = ConstParamZeroDefault<0>;
|
||||||
type C = ConstParamNoDefault<0>;
|
type C = ConstParamNoDefault<0>;
|
||||||
|
Loading…
Reference in New Issue
Block a user