fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1warning: the feature `const_generics` is incomplete and may cause the compiler to crash 2 --> $DIR/broken-mir-2.rs:1:12 3 | 4LL | #![feature(const_generics)] 5 | ^^^^^^^^^^^^^^ 6 | 7 = note: `#[warn(incomplete_features)]` on by default 8 9error[E0277]: arrays only have std trait implementations for lengths 0..=32 10 --> $DIR/broken-mir-2.rs:7:36 11 | 12LL | struct S<T: Debug, const N: usize>([T; N]); 13 | ^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[T; _]` 14 | 15 = note: required because of the requirements on the impl of `std::fmt::Debug` for `[T; _]` 16 = note: required because of the requirements on the impl of `std::fmt::Debug` for `&[T; _]` 17 = note: required for the cast to the object type `dyn std::fmt::Debug` 18 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) 19 20error: aborting due to previous error 21 22For more information about this error, try `rustc --explain E0277`.