granite-rust/tests/ui/traits/dyn-star-drop-principal.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
403 B
Text
Raw Normal View History

2024-07-10 13:00:36 -04:00
error[E0277]: `dyn* Trait + Send` needs to have the same ABI as a pointer
--> $DIR/dyn-star-drop-principal.rs:11:5
|
LL | x as dyn* Send;
| ^ `dyn* Trait + Send` needs to be a pointer-like type
|
= help: the trait `PointerLike` is not implemented for `dyn* Trait + Send`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.