]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cast/casts-differing-anon.stderr
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / test / ui / cast / casts-differing-anon.stderr
1 error[E0606]: casting `*mut impl Debug + ?Sized` as `*mut impl Debug + ?Sized` is invalid
2   --> $DIR/casts-differing-anon.rs:21:13
3    |
4 LL |     b_raw = f_raw as *mut _;
5    |             ^^^^^^^^^^^^^^^
6    |
7    = note: vtable kinds may not match
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0606`.