Skip to content

Commit e886145

Browse files
committed
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.
1 parent e0c0020 commit e886145

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ui/coercion/coerce-issue-49593-box-never.nofallback.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ LL | /* *mut $0 is coerced to Box<dyn Error> here */ Box::<_ /* ! */>::new(x
1313
BorrowError
1414
BorrowMutError
1515
Box<T>
16-
and 43 others
16+
and 45 others
1717
= note: required for the cast to the object type `dyn std::error::Error`
1818

1919
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)
3131
BorrowError
3232
BorrowMutError
3333
Box<T>
34-
and 43 others
34+
and 45 others
3535
= note: required for the cast to the object type `(dyn std::error::Error + 'static)`
3636

3737
error: aborting due to 2 previous errors

0 commit comments

Comments
 (0)