mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +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],
|
||||
}
|
||||
|
||||
struct TwoGenericParams<T, const N: usize> {
|
||||
field: i32,
|
||||
last: [T; N],
|
||||
}
|
||||
|
||||
type A = ConstParamZeroDefault;
|
||||
type B = ConstParamZeroDefault<0>;
|
||||
type C = ConstParamNoDefault<0>;
|
||||
|
Loading…
Reference in New Issue
Block a user