]> git.lizzy.rs Git - rust.git/blob - src/test/ui/constructor-lifetime-args.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / constructor-lifetime-args.stderr
1 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
2   --> $DIR/constructor-lifetime-args.rs:17:5
3    |
4 LL |     S::<'static>(&0, &0);
5    |     ^^^^^^^^^^^^ expected 2 lifetime arguments
6
7 error[E0107]: wrong number of lifetime arguments: expected 2, found 3
8   --> $DIR/constructor-lifetime-args.rs:19:27
9    |
10 LL |     S::<'static, 'static, 'static>(&0, &0);
11    |                           ^^^^^^^ unexpected lifetime argument
12
13 error[E0107]: wrong number of lifetime arguments: expected 2, found 1
14   --> $DIR/constructor-lifetime-args.rs:22:5
15    |
16 LL |     E::V::<'static>(&0);
17    |     ^^^^^^^^^^^^^^^ expected 2 lifetime arguments
18
19 error[E0107]: wrong number of lifetime arguments: expected 2, found 3
20   --> $DIR/constructor-lifetime-args.rs:24:30
21    |
22 LL |     E::V::<'static, 'static, 'static>(&0);
23    |                              ^^^^^^^ unexpected lifetime argument
24
25 error: aborting due to 4 previous errors
26
27 For more information about this error, try `rustc --explain E0107`.