|
1 | 1 | warning: not reporting region error due to -Znll
|
2 |
| - --> $DIR/propagate-approximated-to-static.rs:42:9 |
| 2 | + --> $DIR/propagate-approximated-shorter-to-static-no-bound.rs:47:9 |
3 | 3 | |
|
4 |
| -42 | demand_y(x, y, x.get()) |
| 4 | +47 | demand_y(x, y, x.get()) |
5 | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^
|
6 | 6 |
|
7 | 7 | note: External requirements
|
8 |
| - --> $DIR/propagate-approximated-to-static.rs:40:47 |
| 8 | + --> $DIR/propagate-approximated-shorter-to-static-no-bound.rs:45:47 |
9 | 9 | |
|
10 |
| -40 | establish_relationships(&cell_a, &cell_b, |_outlives, x, y| { |
| 10 | +45 | establish_relationships(&cell_a, &cell_b, |_outlives, x, y| { |
11 | 11 | | _______________________________________________^
|
12 |
| -41 | | // Only works if 'x: 'y: |
13 |
| -42 | | demand_y(x, y, x.get()) |
14 |
| -43 | | }); |
| 12 | +46 | | // Only works if 'x: 'y: |
| 13 | +47 | | demand_y(x, y, x.get()) |
| 14 | +48 | | }); |
15 | 15 | | |_____^
|
16 | 16 | |
|
17 |
| - = note: defining type: DefId(0/1:18 ~ propagate_approximated_to_static[317d]::supply[0]::{{closure}}[0]) with closure substs [ |
| 17 | + = note: defining type: DefId(0/1:18 ~ propagate_approximated_shorter_to_static_no_bound[317d]::supply[0]::{{closure}}[0]) with closure substs [ |
18 | 18 | i16,
|
19 | 19 | for<'r, 's, 't0, 't1, 't2> extern "rust-call" fn((&ReLateBound(DebruijnIndex { depth: 1 }, BrNamed(crate0:DefIndex(0:0), 'r)) std::cell::Cell<&'_#1r &ReLateBound(DebruijnIndex { depth: 1 }, BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex { depth: 1 }, BrNamed(crate0:DefIndex(0:0), 't0)) std::cell::Cell<&ReLateBound(DebruijnIndex { depth: 1 }, BrNamed(crate0:DefIndex(0:0), 's)) u32>, &ReLateBound(DebruijnIndex { depth: 1 }, BrNamed(crate0:DefIndex(0:0), 't1)) std::cell::Cell<&ReLateBound(DebruijnIndex { depth: 1 }, BrNamed(crate0:DefIndex(0:0), 't2)) u32>))
|
20 | 20 | ]
|
21 | 21 | = note: number of external vids: 2
|
22 | 22 | = note: where '_#1r: '_#0r
|
23 | 23 |
|
24 | 24 | note: No external requirements
|
25 |
| - --> $DIR/propagate-approximated-to-static.rs:39:1 |
| 25 | + --> $DIR/propagate-approximated-shorter-to-static-no-bound.rs:44:1 |
26 | 26 | |
|
27 |
| -39 | / fn supply<'a, 'b>(cell_a: Cell<&'a u32>, cell_b: Cell<&'b u32>) { |
28 |
| -40 | | establish_relationships(&cell_a, &cell_b, |_outlives, x, y| { |
29 |
| -41 | | // Only works if 'x: 'y: |
30 |
| -42 | | demand_y(x, y, x.get()) |
31 |
| -43 | | }); |
32 |
| -44 | | } |
| 27 | +44 | / fn supply<'a, 'b>(cell_a: Cell<&'a u32>, cell_b: Cell<&'b u32>) { |
| 28 | +45 | | establish_relationships(&cell_a, &cell_b, |_outlives, x, y| { |
| 29 | +46 | | // Only works if 'x: 'y: |
| 30 | +47 | | demand_y(x, y, x.get()) |
| 31 | +48 | | }); |
| 32 | +49 | | } |
33 | 33 | | |_^
|
34 | 34 | |
|
35 |
| - = note: defining type: DefId(0/0:6 ~ propagate_approximated_to_static[317d]::supply[0]) with substs [] |
| 35 | + = note: defining type: DefId(0/0:6 ~ propagate_approximated_shorter_to_static_no_bound[317d]::supply[0]) with substs [] |
36 | 36 |
|
0 commit comments