@@ -8,17 +8,15 @@ LL | let _y: [u8; _] = [0; 3];
88 = help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
99 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
11- error[E0747 ]: type provided when a constant was expected
11+ error[E0658 ]: const arguments cannot yet be inferred with `_`
1212 --> $DIR/feature-gate-generic_arg_infer.rs:18:20
1313 |
14- LL | let _x = foo::<_>([1,2]);
14+ LL | let _x = foo::<_>([1, 2]);
1515 | ^
1616 |
17- = help: const arguments cannot yet be inferred with `_`
18- help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
19- |
20- LL + #![feature(generic_arg_infer)]
21- |
17+ = note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
18+ = help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
19+ = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2220
2321error[E0658]: using `_` for array lengths is unstable
2422 --> $DIR/feature-gate-generic_arg_infer.rs:11:27
@@ -32,5 +30,4 @@ LL | let _x: [u8; 3] = [0; _];
3230
3331error: aborting due to 3 previous errors
3432
35- Some errors have detailed explanations: E0658, E0747.
36- For more information about an error, try `rustc --explain E0658`.
33+ For more information about this error, try `rustc --explain E0658`.
0 commit comments