Debian Codegraph @

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

raw
1 error[E0623]: lifetime mismatch
2 --> $DIR/ptr-is-invariant-over-v.rs:21:14
3 |
4 18 | big: Ptr<'small, &'big u32, (Exclusive, Aligned, Valid)>,
5 | --------------------------------------------------- these two types are declared with different lifetimes...
6 ...
7 21 | _small = big;
8 | ^^^ ...but data from `big` flows into `big` here
9
10 error[E0623]: lifetime mismatch
11 --> $DIR/ptr-is-invariant-over-v.rs:30:14
12 |
13 27 | big: Ptr<'small, &'big u32, (Shared, Aligned, Valid)>,
14 | ------------------------------------------------ these two types are declared with different lifetimes...
15 ...
16 30 | _small = big;
17 | ^^^ ...but data from `big` flows into `big` here
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0623`.