blob: 91760b9e2eab5cefd5b9a7d56072c72743945a34 [file] [log] [blame] [edit]
error[E0375]: implementing `DispatchFromDyn` does not allow multiple fields to be coerced
--> $DIR/dispatch-from-dyn-zst-transmute-zst-nonzst.rs:17:1
|
LL | / impl<T, U> DispatchFromDyn<Dispatchable<U, i32>> for Dispatchable<T, ()>
LL | |
LL | | where
LL | | T: Unsize<U> + ?Sized,
LL | | U: ?Sized,
| |______________^
|
note: the trait `DispatchFromDyn` may only be implemented when a single field is being coerced
--> $DIR/dispatch-from-dyn-zst-transmute-zst-nonzst.rs:13:5
|
LL | _ptr: Box<T>,
| ^^^^^^^^^^^^
LL | z: Z,
| ^^^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0375`.