about summary refs log tree commit diff
path: root/src/test/ui/const-generics/derive-debug-array-wrapper.stderr
blob: 08a9037a207b3a79094754a65922efea60701724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
warning: the feature `const_generics` is incomplete and may cause the compiler to crash
  --> $DIR/derive-debug-array-wrapper.rs:1:12
   |
LL | #![feature(const_generics)]
   |            ^^^^^^^^^^^^^^
   |
   = note: `#[warn(incomplete_features)]` on by default

error[E0277]: arrays only have std trait implementations for lengths 0..=32
  --> $DIR/derive-debug-array-wrapper.rs:6:5
   |
LL |     a: [u32; N],
   |     ^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[u32; _]`
   |
   = note: required because of the requirements on the impl of `std::fmt::Debug` for `[u32; _]`
   = note: required because of the requirements on the impl of `std::fmt::Debug` for `&[u32; _]`
   = note: required for the cast to the object type `dyn std::fmt::Debug`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.