]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/const-generics/derive-debug-array-wrapper.stderr
pin docs: add some forward references
[rust.git] / src / test / ui / const-generics / derive-debug-array-wrapper.stderr
index a0abbd168946ac634b5bff303c41d6e4954d6d3c..8f7ab822554a2abefc6a545b225378cb127861e2 100644 (file)
@@ -1,5 +1,5 @@
 warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes
-  --> $DIR/derive-debug-array-wrapper.rs:1:12
+  --> $DIR/derive-debug-array-wrapper.rs:3:12
    |
 LL | #![feature(const_generics)]
    |            ^^^^^^^^^^^^^^
@@ -7,17 +7,5 @@ LL | #![feature(const_generics)]
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
 
-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; N]`
-   |
-   = note: required because of the requirements on the impl of `std::fmt::Debug` for `[u32; N]`
-   = note: required because of the requirements on the impl of `std::fmt::Debug` for `&[u32; N]`
-   = note: required for the cast to the object type `dyn std::fmt::Debug`
-   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
-
-error: aborting due to previous error; 1 warning emitted
+warning: 1 warning emitted
 
-For more information about this error, try `rustc --explain E0277`.