Debian Codegraph @

.cargo/vendor/zerocopy/tests/ui-msrv/ptr-is-invariant-over-v.stderr

raw
1 error[E0623]: lifetime mismatch
2 --> tests/ui-msrv/ptr-is-invariant-over-v.rs:10:14
3 |
4 7 | big: Ptr<'small, &'big u32, (Exclusive, Aligned, Valid)>,
5 | --------------------------------------------------- these two types are declared with different lifetimes...
6 ...
7 10 | _small = big;
8 | ^^^ ...but data from `big` flows into `big` here
9
10 error[E0623]: lifetime mismatch
11 --> tests/ui-msrv/ptr-is-invariant-over-v.rs:17:14
12 |
13 14 | big: Ptr<'small, &'big u32, (Shared, Aligned, Valid)>,
14 | ------------------------------------------------ these two types are declared with different lifetimes...
15 ...
16 17 | _small = big;
17 | ^^^ ...but data from `big` flows into `big` here