From b7ff10378c6fe9eb57aa73e6a68dafcfc18da968 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 14 Apr 2022 21:54:13 -0700 Subject: [PATCH] Update the expected stderr for coerce-issue-49593-box-never. This test's expected stderr now includes a count of the number of types that implment `Error`. This PR introduces two new types, so increment the number by two. --- .../coercion/coerce-issue-49593-box-never.nofallback.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/ui/coercion/coerce-issue-49593-box-never.nofallback.stderr b/src/test/ui/coercion/coerce-issue-49593-box-never.nofallback.stderr index 1b1ce67cb0c1..99f00034eda6 100644 --- a/src/test/ui/coercion/coerce-issue-49593-box-never.nofallback.stderr +++ b/src/test/ui/coercion/coerce-issue-49593-box-never.nofallback.stderr @@ -13,7 +13,7 @@ LL | /* *mut $0 is coerced to Box here */ Box::<_ /* ! */>::new(x BorrowError BorrowMutError Box - and 43 others + and 45 others = note: required for the cast to the object type `dyn std::error::Error` error[E0277]: the trait bound `(): std::error::Error` is not satisfied @@ -31,7 +31,7 @@ LL | /* *mut $0 is coerced to *mut Error here */ raw_ptr_box::<_ /* ! */>(x) BorrowError BorrowMutError Box - and 43 others + and 45 others = note: required for the cast to the object type `(dyn std::error::Error + 'static)` error: aborting due to 2 previous errors