]> git.proxmox.com Git - rustc.git/blob - tests/ui/derives/derives-span-Debug-enum.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / derives / derives-span-Debug-enum.stderr
1 error[E0277]: `Error` doesn't implement `Debug`
2 --> $DIR/derives-span-Debug-enum.rs:9:6
3 |
4 LL | #[derive(Debug)]
5 | ----- in this derive macro expansion
6 ...
7 LL | 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 help: consider annotating `Error` with `#[derive(Debug)]`
14 |
15 LL | #[derive(Debug)]
16 |
17
18 error: aborting due to previous error
19
20 For more information about this error, try `rustc --explain E0277`.