Debian Codegraph @

.cargo/vendor/zerocopy/tests/ui-msrv/transmute-mut-illegal-lifetime.stderr

raw
1 error[E0597]: `x` does not live long enough
2 --> tests/ui-msrv/transmute-mut-illegal-lifetime.rs:14:56
3 |
4 14 | let _: &'static mut u64 = zerocopy::transmute_mut!(&mut x);
5 | ---------------- ^^^^^^ borrowed value does not live long enough
6 | |
7 | type annotation requires that `x` is borrowed for `'static`
8 15 | }
9 | - `x` dropped here while still borrowed