]> git.lizzy.rs Git - rust.git/blob - src/test/ui/casts-differing-anon.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / casts-differing-anon.stderr
1 error[E0606]: casting `*mut impl std::fmt::Debug+?Sized` as `*mut impl std::fmt::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`.