]> git.proxmox.com Git - rustc.git/blob - src/test/ui/derives/derives-span-Debug-tuple-struct.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-Debug-tuple-struct.stderr
1 error[E0277]: `Error` doesn't implement `Debug`
2 --> $DIR/derives-span-Debug-tuple-struct.rs:8:5
3 |
4 LL | #[derive(Debug)]
5 | ----- in this derive macro expansion
6 LL | struct Struct(
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
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.