1 error[E0107]: this struct takes 2 lifetime arguments but 1 lifetime argument was supplied
2 --> $DIR/E0107.rs:13:11
5 | ^^^^ -- supplied 1 lifetime argument
7 | expected 2 lifetime arguments
9 note: struct defined here, with 2 lifetime parameters: `'a`, `'b`
12 LL | struct Buzz<'a, 'b>(&'a str, &'b str);
14 help: add missing lifetime argument
16 LL | buzz: Buzz<'a, 'a>,
19 error[E0107]: this enum takes 0 lifetime arguments but 1 lifetime argument was supplied
20 --> $DIR/E0107.rs:17:10
23 | ^^^---- help: remove these generics
25 | expected 0 lifetime arguments
27 note: enum defined here, with 0 lifetime parameters
33 error[E0107]: this struct takes 1 lifetime argument but 3 lifetime arguments were supplied
34 --> $DIR/E0107.rs:21:11
36 LL | foo2: Foo<'a, 'b, 'c>,
37 | ^^^ ------ help: remove these lifetime arguments
39 | expected 1 lifetime argument
41 note: struct defined here, with 1 lifetime parameter: `'a`
44 LL | struct Foo<'a>(&'a str);
47 error[E0107]: this struct takes 1 lifetime argument but 2 lifetime arguments were supplied
48 --> $DIR/E0107.rs:25:11
50 LL | qux1: Qux<'a, 'b, i32>,
51 | ^^^ -- help: remove this lifetime argument
53 | expected 1 lifetime argument
55 note: struct defined here, with 1 lifetime parameter: `'a`
58 LL | struct Qux<'a, T>(&'a T);
61 error[E0107]: this struct takes 1 lifetime argument but 2 lifetime arguments were supplied
62 --> $DIR/E0107.rs:29:11
64 LL | qux2: Qux<'a, i32, 'b>,
65 | ^^^ -- help: remove this lifetime argument
67 | expected 1 lifetime argument
69 note: struct defined here, with 1 lifetime parameter: `'a`
72 LL | struct Qux<'a, T>(&'a T);
75 error[E0107]: this struct takes 1 lifetime argument but 3 lifetime arguments were supplied
76 --> $DIR/E0107.rs:33:11
78 LL | qux3: Qux<'a, 'b, 'c, i32>,
79 | ^^^ ------ help: remove these lifetime arguments
81 | expected 1 lifetime argument
83 note: struct defined here, with 1 lifetime parameter: `'a`
86 LL | struct Qux<'a, T>(&'a T);
89 error[E0107]: this struct takes 1 lifetime argument but 3 lifetime arguments were supplied
90 --> $DIR/E0107.rs:37:11
92 LL | qux4: Qux<'a, i32, 'b, 'c>,
93 | ^^^ ------ help: remove these lifetime arguments
95 | expected 1 lifetime argument
97 note: struct defined here, with 1 lifetime parameter: `'a`
100 LL | struct Qux<'a, T>(&'a T);
103 error[E0107]: this struct takes 1 lifetime argument but 3 lifetime arguments were supplied
104 --> $DIR/E0107.rs:41:11
106 LL | qux5: Qux<'a, 'b, i32, 'c>,
107 | ^^^ -- help: remove this lifetime argument
109 | expected 1 lifetime argument
111 note: struct defined here, with 1 lifetime parameter: `'a`
112 --> $DIR/E0107.rs:3:8
114 LL | struct Qux<'a, T>(&'a T);
117 error[E0107]: this struct takes 0 lifetime arguments but 2 lifetime arguments were supplied
118 --> $DIR/E0107.rs:45:11
120 LL | quux: Quux<'a, i32, 'b>,
121 | ^^^^ -- help: remove this lifetime argument
123 | expected 0 lifetime arguments
125 note: struct defined here, with 0 lifetime parameters
126 --> $DIR/E0107.rs:4:8
128 LL | struct Quux<T>(T);
131 error[E0107]: this trait takes 0 generic arguments but 2 generic arguments were supplied
132 --> $DIR/E0107.rs:55:27
134 LL | fn trait_bound_generic<I: T<u8, u16>>(_i: I) {
135 | ^ expected 0 generic arguments
137 note: trait defined here, with 0 generic parameters
138 --> $DIR/E0107.rs:50:11
142 help: replace the generic bounds with the associated types
144 LL | fn trait_bound_generic<I: T<A = u8, B = u16>>(_i: I) {
147 error: aborting due to 10 previous errors
149 For more information about this error, try `rustc --explain E0107`.