rust/tests/ui/cast/casts-differing-anon.stderr

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

12 lines
354 B
Plaintext
Raw Normal View History

error[E0606]: casting `*mut impl Debug + ?Sized` as `*mut impl Debug + ?Sized` is invalid
2018-12-25 09:56:47 -06:00
--> $DIR/casts-differing-anon.rs:21:13
|
2019-03-09 06:03:44 -06:00
LL | b_raw = f_raw as *mut _;
| ^^^^^^^^^^^^^^^
|
= note: vtable kinds may not match
error: aborting due to previous error
For more information about this error, try `rustc --explain E0606`.