1 error[E0658]: using `_` for array lengths is unstable
2 --> $DIR/feature-gate-generic_arg_infer.rs:11:27
4 LL | let _x: [u8; 3] = [0; _];
7 = note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
8 = help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
10 error: in expressions, `_` can only be used on the left-hand side of an assignment
11 --> $DIR/feature-gate-generic_arg_infer.rs:11:27
13 LL | let _x: [u8; 3] = [0; _];
14 | ^ `_` not allowed here
16 error[E0658]: using `_` for array lengths is unstable
17 --> $DIR/feature-gate-generic_arg_infer.rs:14:18
19 LL | let _y: [u8; _] = [0; 3];
22 = note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
23 = help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
25 error: in expressions, `_` can only be used on the left-hand side of an assignment
26 --> $DIR/feature-gate-generic_arg_infer.rs:14:18
28 LL | let _y: [u8; _] = [0; 3];
29 | ^ `_` not allowed here
31 error[E0747]: type provided when a constant was expected
32 --> $DIR/feature-gate-generic_arg_infer.rs:20:20
34 LL | let _x = foo::<_>([1,2]);
37 = help: const arguments cannot yet be inferred with `_`
38 = help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
40 error: aborting due to 5 previous errors
42 Some errors have detailed explanations: E0658, E0747.
43 For more information about an error, try `rustc --explain E0658`.