1 warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/incorrect-number-of-const-args.rs:1:12
4 LL | #![feature(const_generics)]
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
10 error[E0107]: wrong number of const arguments: expected 2, found 1
11 --> $DIR/incorrect-number-of-const-args.rs:9:5
14 | ^^^^^^^^ expected 2 const arguments
16 error[E0107]: wrong number of const arguments: expected 2, found 3
17 --> $DIR/incorrect-number-of-const-args.rs:10:17
19 LL | foo::<0, 0, 0>();
20 | ^ unexpected const argument
22 error: aborting due to 2 previous errors; 1 warning emitted
24 For more information about this error, try `rustc --explain E0107`.