fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.7 KiB36 linesraw
1note: no external requirements
2  --> $DIR/propagate-approximated-fail-no-postdom.rs:43:9
3   |
4LL |         |_outlives1, _outlives2, _outlives3, x, y| {
5   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: defining type: supply::{closure#0} with closure args [
8               i16,
9               for<Region(BrAnon), Region(BrAnon)> extern "rust-call" fn((std::cell::Cell<&'?1 &ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrAnon }) u32>, std::cell::Cell<&'?2 &ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrAnon }) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BoundRegion { var: 1, kind: BrAnon }) &'?3 u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrAnon }) u32>, std::cell::Cell<&ReLateBound(DebruijnIndex(0), BoundRegion { var: 1, kind: BrAnon }) u32>)),
10               (),
11           ]
12   = note: late-bound region is '?4
13   = note: late-bound region is '?5
14   = note: late-bound region is '?6
15
16error: lifetime may not live long enough
17  --> $DIR/propagate-approximated-fail-no-postdom.rs:46:13
18   |
19LL |         |_outlives1, _outlives2, _outlives3, x, y| {
20   |          ----------              ---------- has type `Cell<&'2 &'?3 u32>`
21   |          |
22   |          has type `Cell<&'?1 &'1 u32>`
23...
24LL |             demand_y(x, y, p)
25   |             ^^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2`
26
27note: no external requirements
28  --> $DIR/propagate-approximated-fail-no-postdom.rs:38:1
29   |
30LL | fn supply<'a, 'b, 'c>(cell_a: Cell<&'a u32>, cell_b: Cell<&'b u32>, cell_c: Cell<&'c u32>) {
31   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32   |
33   = note: defining type: supply
34
35error: aborting due to previous error
36