fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
1.1 KiB33 linesraw
1note: external requirements
2  --> $DIR/propagate-despite-same-free-region.rs:42:9
3   |
4LL | /         |_outlives1, _outlives2, x, y| {
5LL | |             // Only works if 'x: 'y:
6LL | |             let p = x.get();
7LL | |             demand_y(x, y, p)
8LL | |         },
9   | |_________^
10   |
11   = note: defining type: supply::{{closure}}#0 with closure substs [
12               i16,
13               for<'r, 's> extern "rust-call" fn((std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex(0), BrNamed('r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed('s)) &'_#2r u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed('r)) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BrNamed('s)) u32>)),
14               (),
15           ]
16   = note: late-bound region is '_#3r
17   = note: number of external vids: 4
18   = note: where '_#1r: '_#2r
19
20note: no external requirements
21  --> $DIR/propagate-despite-same-free-region.rs:39:1
22   |
23LL | / fn supply<'a>(cell_a: Cell<&'a u32>) {
24LL | |     establish_relationships(
25LL | |         cell_a,
26LL | |         |_outlives1, _outlives2, x, y| {
27...  |
28LL | |     );
29LL | | }
30   | |_^
31   |
32   = note: defining type: supply
33