fork/rust

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

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

1.44.0
4.1 KiB130 linesraw
1note: no external requirements
2  --> $DIR/projection-one-region-trait-bound-static-closure.rs:36:29
3   |
4LL |     with_signature(cell, t, |cell, t| require(cell, t));
5   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: defining type: no_relationships_late::<'_#1r, T>::{{closure}}#0 with closure substs [
8               i32,
9               extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T)),
10               (),
11           ]
12   = note: late-bound region is '_#3r
13
14note: no external requirements
15  --> $DIR/projection-one-region-trait-bound-static-closure.rs:32:1
16   |
17LL | / fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
18LL | | where
19LL | |     T: Anything<'b>,
20LL | | {
21LL | |     with_signature(cell, t, |cell, t| require(cell, t));
22LL | | }
23   | |_^
24   |
25   = note: defining type: no_relationships_late::<'_#1r, T>
26
27note: no external requirements
28  --> $DIR/projection-one-region-trait-bound-static-closure.rs:45:29
29   |
30LL |     with_signature(cell, t, |cell, t| require(cell, t));
31   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
32   |
33   = note: defining type: no_relationships_early::<'_#1r, '_#2r, T>::{{closure}}#0 with closure substs [
34               i32,
35               extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
36               (),
37           ]
38
39note: no external requirements
40  --> $DIR/projection-one-region-trait-bound-static-closure.rs:40:1
41   |
42LL | / fn no_relationships_early<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
43LL | | where
44LL | |     T: Anything<'b>,
45LL | |     'a: 'a,
46LL | | {
47LL | |     with_signature(cell, t, |cell, t| require(cell, t));
48LL | | }
49   | |_^
50   |
51   = note: defining type: no_relationships_early::<'_#1r, '_#2r, T>
52
53note: no external requirements
54  --> $DIR/projection-one-region-trait-bound-static-closure.rs:64:29
55   |
56LL |     with_signature(cell, t, |cell, t| require(cell, t));
57   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
58   |
59   = note: defining type: projection_outlives::<'_#1r, '_#2r, T>::{{closure}}#0 with closure substs [
60               i32,
61               extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
62               (),
63           ]
64
65note: no external requirements
66  --> $DIR/projection-one-region-trait-bound-static-closure.rs:49:1
67   |
68LL | / fn projection_outlives<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
69LL | | where
70LL | |     T: Anything<'b>,
71LL | |     T::AssocType: 'a,
72...  |
73LL | |     with_signature(cell, t, |cell, t| require(cell, t));
74LL | | }
75   | |_^
76   |
77   = note: defining type: projection_outlives::<'_#1r, '_#2r, T>
78
79note: no external requirements
80  --> $DIR/projection-one-region-trait-bound-static-closure.rs:73:29
81   |
82LL |     with_signature(cell, t, |cell, t| require(cell, t));
83   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
84   |
85   = note: defining type: elements_outlive::<'_#1r, '_#2r, T>::{{closure}}#0 with closure substs [
86               i32,
87               extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
88               (),
89           ]
90
91note: no external requirements
92  --> $DIR/projection-one-region-trait-bound-static-closure.rs:68:1
93   |
94LL | / fn elements_outlive<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
95LL | | where
96LL | |     T: Anything<'b>,
97LL | |     'b: 'a,
98LL | | {
99LL | |     with_signature(cell, t, |cell, t| require(cell, t));
100LL | | }
101   | |_^
102   |
103   = note: defining type: elements_outlive::<'_#1r, '_#2r, T>
104
105note: no external requirements
106  --> $DIR/projection-one-region-trait-bound-static-closure.rs:85:29
107   |
108LL |     with_signature(cell, t, |cell, t| require(cell, t));
109   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^
110   |
111   = note: defining type: one_region::<'_#1r, T>::{{closure}}#0 with closure substs [
112               i32,
113               extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T)),
114               (),
115           ]
116
117note: no external requirements
118  --> $DIR/projection-one-region-trait-bound-static-closure.rs:77:1
119   |
120LL | / fn one_region<'a, T>(cell: Cell<&'a ()>, t: T)
121LL | | where
122LL | |     T: Anything<'a>,
123LL | | {
124...  |
125LL | |     with_signature(cell, t, |cell, t| require(cell, t));
126LL | | }
127   | |_^
128   |
129   = note: defining type: one_region::<'_#1r, T>
130