]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/derives-span-Debug-enum-struct-variant.stderr
Rollup merge of #87307 - michaelwoerister:pgo-unwind-msvc, r=nagisa
[rust.git] / src / test / ui / derives / derives-span-Debug-enum-struct-variant.stderr
1 error[E0277]: `Error` doesn't implement `Debug`
2   --> $DIR/derives-span-Debug-enum-struct-variant.rs:9:6
3    |
4 LL | #[derive(Debug)]
5    |          ----- in this derive macro expansion
6 ...
7 LL |      x: Error
8    |      ^^^^^^^^ `Error` cannot be formatted using `{:?}`
9    |
10    = help: the trait `Debug` is not implemented for `Error`
11    = note: add `#[derive(Debug)]` to `Error` or manually `impl Debug for Error`
12    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.