]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/self-outlives-lint.stderr
Rollup merge of #93580 - m-ou-se:stabilize-pin-static-ref, r=scottmcm
[rust.git] / src / test / ui / generic-associated-types / self-outlives-lint.stderr
1 error: missing required bound on `Item`
2   --> $DIR/self-outlives-lint.rs:9:5
3    |
4 LL |     type Item<'x>;
5    |     ^^^^^^^^^^^^^-
6    |                  |
7    |                  help: add the required where clause: `where Self: 'x`
8    |
9    = note: this bound is currently required to ensure that impls have maximum flexibility
10    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
11
12 error: missing required bound on `Out`
13   --> $DIR/self-outlives-lint.rs:25:5
14    |
15 LL |     type Out<'x>;
16    |     ^^^^^^^^^^^^-
17    |                 |
18    |                 help: add the required where clause: `where T: 'x`
19    |
20    = note: this bound is currently required to ensure that impls have maximum flexibility
21    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
22
23 error: missing required bound on `Out`
24   --> $DIR/self-outlives-lint.rs:39:5
25    |
26 LL |     type Out<'x>;
27    |     ^^^^^^^^^^^^-
28    |                 |
29    |                 help: add the required where clause: `where T: 'x`
30    |
31    = note: this bound is currently required to ensure that impls have maximum flexibility
32    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
33
34 error: missing required bounds on `Out`
35   --> $DIR/self-outlives-lint.rs:46:5
36    |
37 LL |     type Out<'x, 'y>;
38    |     ^^^^^^^^^^^^^^^^-
39    |                     |
40    |                     help: add the required where clauses: `where T: 'x, U: 'y`
41    |
42    = note: these bounds are currently required to ensure that impls have maximum flexibility
43    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
44
45 error: missing required bound on `Out`
46   --> $DIR/self-outlives-lint.rs:61:5
47    |
48 LL |     type Out<'x, D>;
49    |     ^^^^^^^^^^^^^^^-
50    |                    |
51    |                    help: add the required where clause: `where D: 'x`
52    |
53    = note: this bound is currently required to ensure that impls have maximum flexibility
54    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
55
56 error: missing required bound on `Out`
57   --> $DIR/self-outlives-lint.rs:77:5
58    |
59 LL |     type Out<'x, D>;
60    |     ^^^^^^^^^^^^^^^-
61    |                    |
62    |                    help: add the required where clause: `where D: 'x`
63    |
64    = note: this bound is currently required to ensure that impls have maximum flexibility
65    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
66
67 error: missing required bound on `Out`
68   --> $DIR/self-outlives-lint.rs:92:5
69    |
70 LL |     type Out<'x, D>;
71    |     ^^^^^^^^^^^^^^^-
72    |                    |
73    |                    help: add the required where clause: `where D: 'x`
74    |
75    = note: this bound is currently required to ensure that impls have maximum flexibility
76    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
77
78 error: missing required bounds on `Bar`
79   --> $DIR/self-outlives-lint.rs:114:5
80    |
81 LL |     type Bar<'b>;
82    |     ^^^^^^^^^^^^-
83    |                 |
84    |                 help: add the required where clauses: `where Self: 'a, Self: 'b`
85    |
86    = note: these bounds are currently required to ensure that impls have maximum flexibility
87    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
88
89 error: missing required bound on `Bar`
90   --> $DIR/self-outlives-lint.rs:122:5
91    |
92 LL |     type Bar<'b>;
93    |     ^^^^^^^^^^^^-
94    |                 |
95    |                 help: add the required where clause: `where Self: 'b`
96    |
97    = note: this bound is currently required to ensure that impls have maximum flexibility
98    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
99
100 error: missing required bound on `Bar`
101   --> $DIR/self-outlives-lint.rs:129:5
102    |
103 LL |     type Bar<'b>;
104    |     ^^^^^^^^^^^^-
105    |                 |
106    |                 help: add the required where clause: `where Self: 'b`
107    |
108    = note: this bound is currently required to ensure that impls have maximum flexibility
109    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
110
111 error: missing required bound on `Item`
112   --> $DIR/self-outlives-lint.rs:142:5
113    |
114 LL |     type Item<'a>;
115    |     ^^^^^^^^^^^^^-
116    |                  |
117    |                  help: add the required where clause: `where Self: 'a`
118    |
119    = note: this bound is currently required to ensure that impls have maximum flexibility
120    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
121
122 error: missing required bound on `Iterator`
123   --> $DIR/self-outlives-lint.rs:144:5
124    |
125 LL |     type Iterator<'a>: Iterator<Item = Self::Item<'a>>;
126    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
127    |                                                       |
128    |                                                       help: add the required where clause: `where Self: 'a`
129    |
130    = note: this bound is currently required to ensure that impls have maximum flexibility
131    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
132
133 error: missing required bound on `Item`
134   --> $DIR/self-outlives-lint.rs:150:5
135    |
136 LL |     type Item<'a>;
137    |     ^^^^^^^^^^^^^-
138    |                  |
139    |                  help: add the required where clause: `where Self: 'a`
140    |
141    = note: this bound is currently required to ensure that impls have maximum flexibility
142    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
143
144 error: missing required bound on `Bar`
145   --> $DIR/self-outlives-lint.rs:159:5
146    |
147 LL |     type Bar<'a, 'b>;
148    |     ^^^^^^^^^^^^^^^^-
149    |                     |
150    |                     help: add the required where clause: `where 'b: 'a`
151    |
152    = note: this bound is currently required to ensure that impls have maximum flexibility
153    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
154
155 error: missing required bound on `Fut`
156   --> $DIR/self-outlives-lint.rs:175:5
157    |
158 LL |     type Fut<'out>;
159    |     ^^^^^^^^^^^^^^-
160    |                   |
161    |                   help: add the required where clause: `where 'ctx: 'out`
162    |
163    = note: this bound is currently required to ensure that impls have maximum flexibility
164    = note: we are soliciting feedback, see issue #87479 <https://github.com/rust-lang/rust/issues/87479> for more information
165
166 error: aborting due to 15 previous errors
167