Debian Codegraph @

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

raw
1 error[E0597]: `x` does not live long enough
2 --> tests/ui-msrv/transmute-ref-illegal-lifetime.rs:14:52
3 |
4 14 | let _: &'static u64 = zerocopy::transmute_ref!(&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