• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0623]: lifetime mismatch
2  --> tests/ui-msrv/ptr-is-invariant-over-v.rs:10:14
3   |
47  |     big: Ptr<'small, &'big u32, (Exclusive, Aligned, Valid)>,
5   |          --------------------------------------------------- these two types are declared with different lifetimes...
6...
710 |     _small = big;
8   |              ^^^ ...but data from `big` flows into `big` here
9
10error[E0623]: lifetime mismatch
11  --> tests/ui-msrv/ptr-is-invariant-over-v.rs:17:14
12   |
1314 |     big: Ptr<'small, &'big u32, (Shared, Aligned, Valid)>,
14   |          ------------------------------------------------ these two types are declared with different lifetimes...
15...
1617 |     _small = big;
17   |              ^^^ ...but data from `big` flows into `big` here
18