Skip to content

Commit be9dd2d

Browse files
committed
Update ui tests
1 parent 09b0b8b commit be9dd2d

File tree

2 files changed

+0
-40
lines changed

2 files changed

+0
-40
lines changed

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

-20
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@ error[E0277]: the trait bound `(): std::error::Error` is not satisfied
44
LL | /* *mut $0 is coerced to Box<dyn Error> here */ Box::<_ /* ! */>::new(x)
55
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `()`
66
|
7-
= help: the following other types implement trait `std::error::Error`:
8-
!
9-
&'a T
10-
AccessError
11-
AddrParseError
12-
Arc<T>
13-
BorrowError
14-
BorrowMutError
15-
Box<T>
16-
and 45 others
177
= note: required for the cast to the object type `dyn std::error::Error`
188

199
error[E0277]: the trait bound `(): std::error::Error` is not satisfied
@@ -22,16 +12,6 @@ error[E0277]: the trait bound `(): std::error::Error` is not satisfied
2212
LL | /* *mut $0 is coerced to *mut Error here */ raw_ptr_box::<_ /* ! */>(x)
2313
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `()`
2414
|
25-
= help: the following other types implement trait `std::error::Error`:
26-
!
27-
&'a T
28-
AccessError
29-
AddrParseError
30-
Arc<T>
31-
BorrowError
32-
BorrowMutError
33-
Box<T>
34-
and 45 others
3515
= note: required for the cast to the object type `(dyn std::error::Error + 'static)`
3616

3717
error: aborting due to 2 previous errors

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

-20
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@ error[E0277]: the trait bound `(): std::error::Error` is not satisfied
44
LL | /* *mut $0 is coerced to Box<dyn Error> here */ Box::<_ /* ! */>::new(x)
55
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `()`
66
|
7-
= help: the following other types implement trait `std::error::Error`:
8-
!
9-
&'a T
10-
AccessError
11-
AddrParseError
12-
Arc<T>
13-
BorrowError
14-
BorrowMutError
15-
Box<T>
16-
and 43 others
177
= note: required for the cast to the object type `dyn std::error::Error`
188

199
error[E0277]: the trait bound `(): std::error::Error` is not satisfied
@@ -22,16 +12,6 @@ error[E0277]: the trait bound `(): std::error::Error` is not satisfied
2212
LL | /* *mut $0 is coerced to *mut Error here */ raw_ptr_box::<_ /* ! */>(x)
2313
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `()`
2414
|
25-
= help: the following other types implement trait `std::error::Error`:
26-
!
27-
&'a T
28-
AccessError
29-
AddrParseError
30-
Arc<T>
31-
BorrowError
32-
BorrowMutError
33-
Box<T>
34-
and 43 others
3515
= note: required for the cast to the object type `(dyn std::error::Error + 'static)`
3616

3717
error: aborting due to 2 previous errors

0 commit comments

Comments
 (0)