File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
error[E0277]: the trait bound `(): std::error::Error` is not satisfied
2
- --> $DIR/coerce-issue-49593-box-never.rs:17 :53
2
+ --> $DIR/coerce-issue-49593-box-never.rs:18 :53
3
3
|
4
4
LL | /* *mut $0 is coerced to Box<dyn Error> here */ Box::<_ /* ! */>::new(x)
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `()`
@@ -17,7 +17,7 @@ LL | /* *mut $0 is coerced to Box<dyn Error> here */ Box::<_ /* ! */>::new(x
17
17
= note: required for the cast to the object type `dyn std::error::Error`
18
18
19
19
error[E0277]: the trait bound `(): std::error::Error` is not satisfied
20
- --> $DIR/coerce-issue-49593-box-never.rs:22 :49
20
+ --> $DIR/coerce-issue-49593-box-never.rs:23 :49
21
21
|
22
22
LL | /* *mut $0 is coerced to *mut Error here */ raw_ptr_box::<_ /* ! */>(x)
23
23
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `()`
You can’t perform that action at this time.
0 commit comments