From d25b4eeefbcb6e2755b0843b0a66de0f5a744460 Mon Sep 17 00:00:00 2001 From: Nathaniel Hamovitz <18648574+nhamovitz@users.noreply.github.com> Date: Mon, 18 Oct 2021 04:22:43 -0700 Subject: [PATCH] One more test --- tests/ui/trailing_zero_sized_array_without_repr.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/ui/trailing_zero_sized_array_without_repr.rs b/tests/ui/trailing_zero_sized_array_without_repr.rs index 6ac124c8b34..5b12a882aa7 100644 --- a/tests/ui/trailing_zero_sized_array_without_repr.rs +++ b/tests/ui/trailing_zero_sized_array_without_repr.rs @@ -167,6 +167,11 @@ struct ConstParamNonZeroDefault { last: [usize; N], } +struct TwoGenericParams { + field: i32, + last: [T; N], +} + type A = ConstParamZeroDefault; type B = ConstParamZeroDefault<0>; type C = ConstParamNoDefault<0>;