diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-05-11 22:20:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-11 22:20:59 +0200 |
| commit | a14af7fff8e3ef503a141d0ea725d025ef168a77 (patch) | |
| tree | d16d6eab15537d4cd176356115cac3ca01f6dc12 /src/test/ui/const-generics/derive-debug-array-wrapper.stderr | |
| parent | eade6f7881b89435fd3019183d76a67f924c32cb (diff) | |
| parent | 0db2aec14a93fd9c5b084aa5f973d3609e625bf6 (diff) | |
Rollup merge of #72052 - lcnr:const_pprint, r=ecstatic-morse
display `ConstKind::Param`
Diffstat (limited to 'src/test/ui/const-generics/derive-debug-array-wrapper.stderr')
| -rw-r--r-- | src/test/ui/const-generics/derive-debug-array-wrapper.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/const-generics/derive-debug-array-wrapper.stderr b/src/test/ui/const-generics/derive-debug-array-wrapper.stderr index 672586fd3fe..35ecc49cfb3 100644 --- a/src/test/ui/const-generics/derive-debug-array-wrapper.stderr +++ b/src/test/ui/const-generics/derive-debug-array-wrapper.stderr @@ -10,10 +10,10 @@ 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; _]` + | ^^^^^^^^^^^ 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; _]` - = 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; 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) |
