Debian Codegraph @

.cargo/vendor/zerocopy/tests/ui-nightly/transmute-mut-src-not-a-reference.stderr

raw
1 error[E0308]: mismatched types
2 --> tests/ui-nightly/transmute-mut-src-not-a-reference.rs:17:53
3 |
4 17 | const SRC_NOT_A_REFERENCE: &mut u8 = transmute_mut!(0usize);
5 | ---------------^^^^^^-
6 | | |
7 | | expected `&mut _`, found `usize`
8 | expected due to this
9 |
10 = note: expected mutable reference `&mut _`
11 found type `usize`
12 help: consider mutably borrowing here
13 |
14 17 | const SRC_NOT_A_REFERENCE: &mut u8 = transmute_mut!(&mut 0usize);
15 | ++++