@@ -171,8 +171,8 @@ LL | pub union Qux<'t, 'k, I> {
171171 | ^^^ -- --
172172help: add missing lifetime argument
173173 |
174- LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, '_ , i32>>>>> = RefCell::new(HashMap::new());
175- | ++++
174+ LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static , i32>>>>> = RefCell::new(HashMap::new());
175+ | +++++++++
176176
177177error[E0107]: this union takes 2 lifetime arguments but 1 lifetime argument was supplied
178178 --> $DIR/missing-lifetime-specifier.rs:43:44
@@ -243,8 +243,8 @@ LL | pub union Qux<'t, 'k, I> {
243243 | ^^^ -- --
244244help: add missing lifetime argument
245245 |
246- LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, '_ , i32>>>>> = RefCell::new(HashMap::new());
247- | ++++
246+ LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static , i32>>>>> = RefCell::new(HashMap::new());
247+ | +++++++++
248248
249249error[E0107]: this trait takes 2 lifetime arguments but 1 lifetime argument was supplied
250250 --> $DIR/missing-lifetime-specifier.rs:51:45
@@ -261,8 +261,8 @@ LL | trait Tar<'t, 'k, I> {}
261261 | ^^^ -- --
262262help: add missing lifetime argument
263263 |
264- LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, '_ , i32>>>>> = RefCell::new(HashMap::new());
265- | ++++
264+ LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static , i32>>>>> = RefCell::new(HashMap::new());
265+ | +++++++++
266266
267267error[E0106]: missing lifetime specifier
268268 --> $DIR/missing-lifetime-specifier.rs:51:44
@@ -360,8 +360,8 @@ LL | trait Tar<'t, 'k, I> {}
360360 | ^^^ -- --
361361help: add missing lifetime argument
362362 |
363- LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, '_ , i32>>>>> = RefCell::new(HashMap::new());
364- | ++++
363+ LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, 'static , i32>>>>> = RefCell::new(HashMap::new());
364+ | +++++++++
365365
366366error: aborting due to 24 previous errors
367367
0 commit comments