@@ -46,57 +46,6 @@ LL - static REF_STATIK: &[u8; _] = &[1];
46
46
LL + static REF_STATIK: &[u8; 1] = &[1];
47
47
|
48
48
49
- error[E0658]: using `_` for array lengths is unstable
50
- --> $DIR/suggest-array-length.rs:13:20
51
- |
52
- LL | let foo: [i32; _] = [1, 2, 3];
53
- | ^ help: consider specifying the array length: `3`
54
- |
55
- = note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
56
- = help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
57
- = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
58
-
59
- error[E0658]: using `_` for array lengths is unstable
60
- --> $DIR/suggest-array-length.rs:15:20
61
- |
62
- LL | let bar: [i32; _] = [0; 3];
63
- | ^ help: consider specifying the array length: `3`
64
- |
65
- = note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
66
- = help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
67
- = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
68
-
69
- error[E0658]: using `_` for array lengths is unstable
70
- --> $DIR/suggest-array-length.rs:17:25
71
- |
72
- LL | let ref_foo: &[i32; _] = &[1, 2, 3];
73
- | ^ help: consider specifying the array length: `3`
74
- |
75
- = note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
76
- = help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
77
- = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
78
-
79
- error[E0658]: using `_` for array lengths is unstable
80
- --> $DIR/suggest-array-length.rs:19:25
81
- |
82
- LL | let ref_bar: &[i32; _] = &[0; 3];
83
- | ^ help: consider specifying the array length: `3`
84
- |
85
- = note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
86
- = help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
87
- = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
88
-
89
- error[E0658]: using `_` for array lengths is unstable
90
- --> $DIR/suggest-array-length.rs:21:35
91
- |
92
- LL | let multiple_ref_foo: &&[i32; _] = &&[1, 2, 3];
93
- | ^ help: consider specifying the array length: `3`
94
- |
95
- = note: see issue #85077 <https://github.com/rust-lang/rust/issues/85077> for more information
96
- = help: add `#![feature(generic_arg_infer)]` to the crate attributes to enable
97
- = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
98
-
99
- error: aborting due to 9 previous errors
49
+ error: aborting due to 4 previous errors
100
50
101
- Some errors have detailed explanations: E0121, E0658.
102
- For more information about an error, try `rustc --explain E0121`.
51
+ For more information about this error, try `rustc --explain E0121`.
0 commit comments