Debian Codegraph @

.cargo/vendor/zerocopy/tests/ui-nightly/transmute-mut-src-dst-not-references.stderr

raw
1 error[E0308]: mismatched types
2 --> tests/ui-nightly/transmute-mut-src-dst-not-references.rs:17:59
3 |
4 17 | const SRC_DST_NOT_REFERENCES: &mut usize = 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_DST_NOT_REFERENCES: &mut usize = transmute_mut!(&mut 0usize);
15 | ++++