1
1
error[E0106]: missing lifetime specifiers
2
- --> $DIR/missing-lifetime-specifier.rs:28 :44
2
+ --> $DIR/missing-lifetime-specifier.rs:27 :44
3
3
|
4
4
LL | static a: RefCell<HashMap<i32, Vec<Vec<Foo>>>> = RefCell::new(HashMap::new());
5
5
| ^^^ expected 2 lifetime parameters
@@ -11,7 +11,7 @@ LL | static a: RefCell<HashMap<i32, Vec<Vec<Foo<'static, 'static>>>>> = RefC
11
11
| ++++++++++++++++++
12
12
13
13
error[E0106]: missing lifetime specifiers
14
- --> $DIR/missing-lifetime-specifier.rs:32 :44
14
+ --> $DIR/missing-lifetime-specifier.rs:31 :44
15
15
|
16
16
LL | static b: RefCell<HashMap<i32, Vec<Vec<&Bar>>>> = RefCell::new(HashMap::new());
17
17
| ^^^^ expected 2 lifetime parameters
@@ -25,7 +25,7 @@ LL | static b: RefCell<HashMap<i32, Vec<Vec<&'static Bar<'static, 'static>>>
25
25
| +++++++ ++++++++++++++++++
26
26
27
27
error[E0106]: missing lifetime specifiers
28
- --> $DIR/missing-lifetime-specifier.rs:36 :47
28
+ --> $DIR/missing-lifetime-specifier.rs:35 :47
29
29
|
30
30
LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<i32>>>>> = RefCell::new(HashMap::new());
31
31
| ^ expected 2 lifetime parameters
@@ -37,7 +37,7 @@ LL | static c: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> =
37
37
| +++++++++++++++++
38
38
39
39
error[E0106]: missing lifetime specifiers
40
- --> $DIR/missing-lifetime-specifier.rs:40 :44
40
+ --> $DIR/missing-lifetime-specifier.rs:39 :44
41
41
|
42
42
LL | static d: RefCell<HashMap<i32, Vec<Vec<&Tar<i32>>>>> = RefCell::new(HashMap::new());
43
43
| ^ ^ expected 2 lifetime parameters
@@ -51,7 +51,7 @@ LL | static d: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, 'static, i
51
51
| +++++++ +++++++++++++++++
52
52
53
53
error[E0106]: missing lifetime specifier
54
- --> $DIR/missing-lifetime-specifier.rs:49 :44
54
+ --> $DIR/missing-lifetime-specifier.rs:48 :44
55
55
|
56
56
LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
57
57
| ^ expected named lifetime parameter
@@ -63,15 +63,15 @@ LL | static f: RefCell<HashMap<i32, Vec<Vec<&'static Tar<'static, i32>>>>> =
63
63
| +++++++
64
64
65
65
error[E0107]: union takes 2 lifetime arguments but 1 lifetime argument was supplied
66
- --> $DIR/missing-lifetime-specifier.rs:45 :44
66
+ --> $DIR/missing-lifetime-specifier.rs:44 :44
67
67
|
68
68
LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, i32>>>>> = RefCell::new(HashMap::new());
69
69
| ^^^ ------- supplied 1 lifetime argument
70
70
| |
71
71
| expected 2 lifetime arguments
72
72
|
73
73
note: union defined here, with 2 lifetime parameters: `'t`, `'k`
74
- --> $DIR/missing-lifetime-specifier.rs:21 :11
74
+ --> $DIR/missing-lifetime-specifier.rs:20 :11
75
75
|
76
76
LL | pub union Qux<'t, 'k, I> {
77
77
| ^^^ -- --
@@ -81,15 +81,15 @@ LL | static e: RefCell<HashMap<i32, Vec<Vec<Qux<'static, 'static, i32>>>>> =
81
81
| +++++++++
82
82
83
83
error[E0107]: trait takes 2 lifetime arguments but 1 lifetime argument was supplied
84
- --> $DIR/missing-lifetime-specifier.rs:49 :45
84
+ --> $DIR/missing-lifetime-specifier.rs:48 :45
85
85
|
86
86
LL | static f: RefCell<HashMap<i32, Vec<Vec<&Tar<'static, i32>>>>> = RefCell::new(HashMap::new());
87
87
| ^^^ ------- supplied 1 lifetime argument
88
88
| |
89
89
| expected 2 lifetime arguments
90
90
|
91
91
note: trait defined here, with 2 lifetime parameters: `'t`, `'k`
92
- --> $DIR/missing-lifetime-specifier.rs:25 :7
92
+ --> $DIR/missing-lifetime-specifier.rs:24 :7
93
93
|
94
94
LL | trait Tar<'t, 'k, I> {}
95
95
| ^^^ -- --
0 commit comments