]> git.lizzy.rs Git - rust.git/blob - tests/ui/derives/derives-span-Debug-tuple-struct.stderr
Rollup merge of #106661 - mjguzik:linux_statx, r=Mark-Simulacrum
[rust.git] / tests / 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 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`.