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