1 error[E0277]: the trait bound `(): std::error::Error` is not satisfied
2 --> $DIR/coerce-issue-49593-box-never-windows.rs:18:53
4 LL | /* *mut $0 is coerced to Box<dyn Error> here */ Box::<_ /* ! */>::new(x)
5 | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `()`
7 = note: required for the cast from `()` to the object type `dyn std::error::Error`
9 error[E0277]: the trait bound `(): std::error::Error` is not satisfied
10 --> $DIR/coerce-issue-49593-box-never-windows.rs:23:49
12 LL | /* *mut $0 is coerced to *mut Error here */ raw_ptr_box::<_ /* ! */>(x)
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `()`
15 = note: required for the cast from `()` to the object type `(dyn std::error::Error + 'static)`
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0277`.