fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
1.1 KiB32 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   = note: late-bound region is '_#3r
16   = note: number of external vids: 4
17   = note: where '_#1r: '_#2r
18
19note: no external requirements
20  --> $DIR/propagate-despite-same-free-region.rs:39:1
21   |
22LL | / fn supply<'a>(cell_a: Cell<&'a u32>) {
23LL | |     establish_relationships(
24LL | |         cell_a,
25LL | |         |_outlives1, _outlives2, x, y| {
26...  |
27LL | |     );
28LL | | }
29   | |_^
30   |
31   = note: defining type: supply
32