From e2bba0708a1e4b0c21f94de56c2bd5d66d3b825f Mon Sep 17 00:00:00 2001 From: Esteban Kuber Date: Sat, 26 Mar 2022 23:14:47 +0000 Subject: Fix list length --- src/test/ui/consts/const-eval/const-eval-overflow-3b.stderr | 4 ++++ src/test/ui/consts/const-eval/const-eval-overflow-4b.stderr | 4 ++++ src/test/ui/consts/too_generic_eval_ice.stderr | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'src/test/ui/consts') diff --git a/src/test/ui/consts/const-eval/const-eval-overflow-3b.stderr b/src/test/ui/consts/const-eval/const-eval-overflow-3b.stderr index aee7192b6ed..d2d68506d4e 100644 --- a/src/test/ui/consts/const-eval/const-eval-overflow-3b.stderr +++ b/src/test/ui/consts/const-eval/const-eval-overflow-3b.stderr @@ -16,6 +16,10 @@ LL | = [0; (i8::MAX + 1u8) as usize]; <&i8 as Add<&i8>> > + <&'a f32 as Add> + <&'a f64 as Add> + <&'a i128 as Add> + <&'a i16 as Add> and 48 others error: aborting due to 2 previous errors diff --git a/src/test/ui/consts/const-eval/const-eval-overflow-4b.stderr b/src/test/ui/consts/const-eval/const-eval-overflow-4b.stderr index 059447f7cac..818e3bc15b1 100644 --- a/src/test/ui/consts/const-eval/const-eval-overflow-4b.stderr +++ b/src/test/ui/consts/const-eval/const-eval-overflow-4b.stderr @@ -16,6 +16,10 @@ LL | : [u32; (i8::MAX as i8 + 1u8) as usize] <&i8 as Add<&i8>> > + <&'a f32 as Add> + <&'a f64 as Add> + <&'a i128 as Add> + <&'a i16 as Add> and 48 others error[E0604]: only `u8` can be cast as `char`, not `i8` diff --git a/src/test/ui/consts/too_generic_eval_ice.stderr b/src/test/ui/consts/too_generic_eval_ice.stderr index 677fa7d21ae..45459b931ca 100644 --- a/src/test/ui/consts/too_generic_eval_ice.stderr +++ b/src/test/ui/consts/too_generic_eval_ice.stderr @@ -26,6 +26,10 @@ LL | [5; Self::HOST_SIZE] == [6; 0] <&[T] as PartialEq>> <&mut [B] as PartialEq<[A; N]>> <&mut [T] as PartialEq>> + <[A; N] as PartialEq<&[B]>> + <[A; N] as PartialEq<&mut [B]>> + <[A; N] as PartialEq<[B; N]>> + <[A; N] as PartialEq<[B]>> and 3 others error: aborting due to 3 previous errors -- cgit 1.4.1-3-g733a5