]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/incorrect-number-of-const-args.min.stderr
Rollup merge of #75485 - RalfJung:pin, r=nagisa
[rust.git] / src / test / ui / const-generics / incorrect-number-of-const-args.min.stderr
1 error[E0107]: wrong number of const arguments: expected 2, found 1
2   --> $DIR/incorrect-number-of-const-args.rs:12:5
3    |
4 LL |     foo::<0>();
5    |     ^^^^^^^^ expected 2 const arguments
6
7 error[E0107]: wrong number of const arguments: expected 2, found 3
8   --> $DIR/incorrect-number-of-const-args.rs:13:17
9    |
10 LL |     foo::<0, 0, 0>();
11    |                 ^ unexpected const argument
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0107`.