@@ -71,7 +71,7 @@ LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar<'static, 'static>>>>> = Ref
7171 | ^^^^^^^^^^^^^^^^^^^^^
7272
7373error[E0106]: missing lifetime specifiers
74- --> $DIR/missing-lifetime-specifier.rs:32 :48
74+ --> $DIR/missing-lifetime-specifier.rs:30 :48
7575 |
7676LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new());
7777 | ^ expected 2 lifetime parameters
@@ -83,7 +83,7 @@ LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> =
8383 | ^^^^^^^^^^^^^^^^^
8484
8585error[E0106]: missing lifetime specifiers
86- --> $DIR/missing-lifetime-specifier.rs:32 :48
86+ --> $DIR/missing-lifetime-specifier.rs:30 :48
8787 |
8888LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new());
8989 | ^ expected 2 lifetime parameters
@@ -95,7 +95,7 @@ LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> =
9595 | ^^^^^^^^^^^^^^^^^
9696
9797error[E0106]: missing lifetime specifier
98- --> $DIR/missing-lifetime-specifier.rs:37 :44
98+ --> $DIR/missing-lifetime-specifier.rs:35 :44
9999 |
100100LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
101101 | ^ expected named lifetime parameter
@@ -107,7 +107,7 @@ LL | static d: RefCell<HashMap<i32, Vec<Vec<&'static Tar<i32>>>>> = RefCell:
107107 | ^^^^^^^^
108108
109109error[E0106]: missing lifetime specifiers
110- --> $DIR/missing-lifetime-specifier.rs:37 :49
110+ --> $DIR/missing-lifetime-specifier.rs:35 :49
111111 |
112112LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
113113 | ^ expected 2 lifetime parameters
@@ -119,7 +119,7 @@ LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>>
119119 | ^^^^^^^^^^^^^^^^^
120120
121121error[E0106]: missing lifetime specifier
122- --> $DIR/missing-lifetime-specifier.rs:37 :44
122+ --> $DIR/missing-lifetime-specifier.rs:35 :44
123123 |
124124LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
125125 | ^ expected named lifetime parameter
@@ -131,7 +131,7 @@ LL | static d: RefCell<HashMap<i32, Vec<Vec<&'static Tar<i32>>>>> = RefCell:
131131 | ^^^^^^^^
132132
133133error[E0106]: missing lifetime specifiers
134- --> $DIR/missing-lifetime-specifier.rs:37 :49
134+ --> $DIR/missing-lifetime-specifier.rs:35 :49
135135 |
136136LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
137137 | ^ expected 2 lifetime parameters
@@ -143,7 +143,7 @@ LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static, i32>>>>>
143143 | ^^^^^^^^^^^^^^^^^
144144
145145error[E0106]: missing lifetime specifier
146- --> $DIR/missing-lifetime-specifier.rs:54 :44
146+ --> $DIR/missing-lifetime-specifier.rs:50 :44
147147 |
148148LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
149149 | ^ expected named lifetime parameter
@@ -155,7 +155,7 @@ LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> =
155155 | ^^^^^^^^
156156
157157error[E0106]: missing lifetime specifier
158- --> $DIR/missing-lifetime-specifier.rs:54 :44
158+ --> $DIR/missing-lifetime-specifier.rs:50 :44
159159 |
160160LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
161161 | ^ expected named lifetime parameter
@@ -166,91 +166,55 @@ help: consider using the `'static` lifetime
166166LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
167167 | ^^^^^^^^
168168
169- error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
170- --> $DIR/missing-lifetime-specifier.rs:23:45
171- |
172- LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
173- | ^^^
174-
175- error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
176- --> $DIR/missing-lifetime-specifier.rs:23:45
177- |
178- LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
179- | ^^^
180-
181- error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
182- --> $DIR/missing-lifetime-specifier.rs:37:45
183- |
184- LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
185- | ^^^^^^^^
186-
187- error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
188- --> $DIR/missing-lifetime-specifier.rs:37:45
189- |
190- LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
191- | ^^^^^^^^
192-
193169error[E0107]: wrong number of lifetime arguments: expected 2, found 1
194- --> $DIR/missing-lifetime-specifier.rs:47 :44
170+ --> $DIR/missing-lifetime-specifier.rs:43 :44
195171 |
196172LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
197173 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
198174
199175error[E0107]: wrong number of lifetime arguments: expected 2, found 1
200- --> $DIR/missing-lifetime-specifier.rs:47 :44
176+ --> $DIR/missing-lifetime-specifier.rs:43 :44
201177 |
202178LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
203179 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
204180
205181error[E0107]: wrong number of lifetime arguments: expected 2, found 1
206- --> $DIR/missing-lifetime-specifier.rs:47 :44
182+ --> $DIR/missing-lifetime-specifier.rs:43 :44
207183 |
208184LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
209185 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
210186
211187error[E0107]: wrong number of lifetime arguments: expected 2, found 1
212- --> $DIR/missing-lifetime-specifier.rs:47 :44
188+ --> $DIR/missing-lifetime-specifier.rs:43 :44
213189 |
214190LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
215191 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
216192
217193error[E0107]: wrong number of lifetime arguments: expected 2, found 1
218- --> $DIR/missing-lifetime-specifier.rs:54 :45
194+ --> $DIR/missing-lifetime-specifier.rs:50 :45
219195 |
220196LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
221197 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
222198
223199error[E0107]: wrong number of lifetime arguments: expected 2, found 1
224- --> $DIR/missing-lifetime-specifier.rs:54 :45
200+ --> $DIR/missing-lifetime-specifier.rs:50 :45
225201 |
226202LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
227203 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
228204
229- error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
230- --> $DIR/missing-lifetime-specifier.rs:54:45
231- |
232- LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
233- | ^^^^^^^^^^^^^^^^^
234-
235205error[E0107]: wrong number of lifetime arguments: expected 2, found 1
236- --> $DIR/missing-lifetime-specifier.rs:54 :45
206+ --> $DIR/missing-lifetime-specifier.rs:50 :45
237207 |
238208LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
239209 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
240210
241- error[E0228]: the lifetime bound for this object type cannot be deduced from context; please supply an explicit bound
242- --> $DIR/missing-lifetime-specifier.rs:54:45
243- |
244- LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
245- | ^^^^^^^^^^^^^^^^^
246-
247211error[E0107]: wrong number of lifetime arguments: expected 2, found 1
248- --> $DIR/missing-lifetime-specifier.rs:54 :45
212+ --> $DIR/missing-lifetime-specifier.rs:50 :45
249213 |
250214LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
251215 | ^^^^^^^^^^^^^^^^^ expected 2 lifetime arguments
252216
253- error: aborting due to 28 previous errors
217+ error: aborting due to 22 previous errors
254218
255- Some errors have detailed explanations: E0106, E0107, E0228 .
219+ Some errors have detailed explanations: E0106, E0107.
256220For more information about an error, try `rustc --explain E0106`.
0 commit comments