]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0107.stderr
Rollup merge of #59056 - scottmcm:even-fewer-lifetimes, r=sfackler
[rust.git] / src / test / ui / error-codes / E0107.stderr
1 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
2   --> $DIR/E0107.rs:11:11
3    |
4 LL |     buzz: Buzz<'a>,
5    |           ^^^^^^^^ expected 2 lifetime arguments
6
7 error[E0107]: wrong number of lifetime arguments: expected 0, found 1
8   --> $DIR/E0107.rs:14:14
9    |
10 LL |     bar: Bar<'a>,
11    |              ^^ unexpected lifetime argument
12
13 error[E0107]: wrong number of lifetime arguments: expected 1, found 3
14   --> $DIR/E0107.rs:17:19
15    |
16 LL |     foo2: Foo<'a, 'b, 'c>,
17    |                   ^^  ^^ unexpected lifetime argument
18    |                   |
19    |                   unexpected lifetime argument
20
21 error: aborting due to 3 previous errors
22
23 For more information about this error, try `rustc --explain E0107`.