]> git.lizzy.rs Git - rust.git/blob - src/test/ui/constructor-lifetime-args.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / constructor-lifetime-args.stderr
1 error[E0090]: too few lifetime parameters provided: expected 2 lifetime parameters, found 1 lifetime parameter
2   --> $DIR/constructor-lifetime-args.rs:27:5
3    |
4 LL |     S::<'static>(&0, &0);
5    |     ^^^^^^^^^^^^ expected 2 lifetime parameters
6
7 error[E0088]: too many lifetime parameters provided: expected at most 2 lifetime parameters, found 3 lifetime parameters
8   --> $DIR/constructor-lifetime-args.rs:29:27
9    |
10 LL |     S::<'static, 'static, 'static>(&0, &0);
11    |                           ^^^^^^^ expected 2 lifetime parameters
12
13 error[E0090]: too few lifetime parameters provided: expected 2 lifetime parameters, found 1 lifetime parameter
14   --> $DIR/constructor-lifetime-args.rs:32:5
15    |
16 LL |     E::V::<'static>(&0);
17    |     ^^^^^^^^^^^^^^^ expected 2 lifetime parameters
18
19 error[E0088]: too many lifetime parameters provided: expected at most 2 lifetime parameters, found 3 lifetime parameters
20   --> $DIR/constructor-lifetime-args.rs:34:30
21    |
22 LL |     E::V::<'static, 'static, 'static>(&0);
23    |                              ^^^^^^^ expected 2 lifetime parameters
24
25 error: aborting due to 4 previous errors
26
27 Some errors occurred: E0088, E0090.
28 For more information about an error, try `rustc --explain E0088`.