1
- error[E0107]: this struct takes 2 lifetime arguments but 1 lifetime argument was supplied
1
+ error[E0107]: struct takes 2 lifetime arguments but 1 lifetime argument was supplied
2
2
--> $DIR/E0107.rs:13:11
3
3
|
4
4
LL | buzz: Buzz<'a>,
@@ -16,7 +16,7 @@ help: add missing lifetime argument
16
16
LL | buzz: Buzz<'a, 'a>,
17
17
| ++++
18
18
19
- error[E0107]: this enum takes 0 lifetime arguments but 1 lifetime argument was supplied
19
+ error[E0107]: enum takes 0 lifetime arguments but 1 lifetime argument was supplied
20
20
--> $DIR/E0107.rs:17:10
21
21
|
22
22
LL | bar: Bar<'a>,
@@ -30,7 +30,7 @@ note: enum defined here, with 0 lifetime parameters
30
30
LL | enum Bar {
31
31
| ^^^
32
32
33
- error[E0107]: this struct takes 1 lifetime argument but 3 lifetime arguments were supplied
33
+ error[E0107]: struct takes 1 lifetime argument but 3 lifetime arguments were supplied
34
34
--> $DIR/E0107.rs:21:11
35
35
|
36
36
LL | foo2: Foo<'a, 'b, 'c>,
@@ -44,7 +44,7 @@ note: struct defined here, with 1 lifetime parameter: `'a`
44
44
LL | struct Foo<'a>(&'a str);
45
45
| ^^^ --
46
46
47
- error[E0107]: this struct takes 1 lifetime argument but 2 lifetime arguments were supplied
47
+ error[E0107]: struct takes 1 lifetime argument but 2 lifetime arguments were supplied
48
48
--> $DIR/E0107.rs:25:11
49
49
|
50
50
LL | qux1: Qux<'a, 'b, i32>,
@@ -58,7 +58,7 @@ note: struct defined here, with 1 lifetime parameter: `'a`
58
58
LL | struct Qux<'a, T>(&'a T);
59
59
| ^^^ --
60
60
61
- error[E0107]: this struct takes 1 lifetime argument but 2 lifetime arguments were supplied
61
+ error[E0107]: struct takes 1 lifetime argument but 2 lifetime arguments were supplied
62
62
--> $DIR/E0107.rs:29:11
63
63
|
64
64
LL | qux2: Qux<'a, i32, 'b>,
@@ -72,7 +72,7 @@ note: struct defined here, with 1 lifetime parameter: `'a`
72
72
LL | struct Qux<'a, T>(&'a T);
73
73
| ^^^ --
74
74
75
- error[E0107]: this struct takes 1 lifetime argument but 3 lifetime arguments were supplied
75
+ error[E0107]: struct takes 1 lifetime argument but 3 lifetime arguments were supplied
76
76
--> $DIR/E0107.rs:33:11
77
77
|
78
78
LL | qux3: Qux<'a, 'b, 'c, i32>,
@@ -86,7 +86,7 @@ note: struct defined here, with 1 lifetime parameter: `'a`
86
86
LL | struct Qux<'a, T>(&'a T);
87
87
| ^^^ --
88
88
89
- error[E0107]: this struct takes 1 lifetime argument but 3 lifetime arguments were supplied
89
+ error[E0107]: struct takes 1 lifetime argument but 3 lifetime arguments were supplied
90
90
--> $DIR/E0107.rs:37:11
91
91
|
92
92
LL | qux4: Qux<'a, i32, 'b, 'c>,
@@ -100,7 +100,7 @@ note: struct defined here, with 1 lifetime parameter: `'a`
100
100
LL | struct Qux<'a, T>(&'a T);
101
101
| ^^^ --
102
102
103
- error[E0107]: this struct takes 1 lifetime argument but 3 lifetime arguments were supplied
103
+ error[E0107]: struct takes 1 lifetime argument but 3 lifetime arguments were supplied
104
104
--> $DIR/E0107.rs:41:11
105
105
|
106
106
LL | qux5: Qux<'a, 'b, i32, 'c>,
@@ -114,7 +114,7 @@ note: struct defined here, with 1 lifetime parameter: `'a`
114
114
LL | struct Qux<'a, T>(&'a T);
115
115
| ^^^ --
116
116
117
- error[E0107]: this struct takes 0 lifetime arguments but 2 lifetime arguments were supplied
117
+ error[E0107]: struct takes 0 lifetime arguments but 2 lifetime arguments were supplied
118
118
--> $DIR/E0107.rs:45:11
119
119
|
120
120
LL | quux: Quux<'a, i32, 'b>,
@@ -128,7 +128,7 @@ note: struct defined here, with 0 lifetime parameters
128
128
LL | struct Quux<T>(T);
129
129
| ^^^^
130
130
131
- error[E0107]: this trait takes 0 generic arguments but 2 generic arguments were supplied
131
+ error[E0107]: trait takes 0 generic arguments but 2 generic arguments were supplied
132
132
--> $DIR/E0107.rs:55:27
133
133
|
134
134
LL | fn trait_bound_generic<I: T<u8, u16>>(_i: I) {
0 commit comments