fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

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