]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0730.stderr
Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup
[rust.git] / src / test / ui / error-codes / E0730.stderr
1 warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes
2   --> $DIR/E0730.rs:1:12
3    |
4 LL | #![feature(const_generics)]
5    |            ^^^^^^^^^^^^^^
6    |
7    = note: `#[warn(incomplete_features)]` on by default
8    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
9
10 error[E0730]: cannot pattern-match on an array without a fixed length
11   --> $DIR/E0730.rs:6:9
12    |
13 LL |         [1, 2, ..] => true,
14    |         ^^^^^^^^^^
15
16 error: aborting due to previous error; 1 warning emitted
17
18 For more information about this error, try `rustc --explain E0730`.