]> git.proxmox.com Git - rustc.git/blob - src/test/ui/derives/derives-span-Debug-enum.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / 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 | Error
5 | ^^^^^ `Error` cannot be formatted using `{:?}`
6 |
7 = help: the trait `Debug` is not implemented for `Error`
8 = note: add `#[derive(Debug)]` or manually implement `Debug`
9 = note: required because of the requirements on the impl of `Debug` for `&Error`
10 = note: required for the cast to the object type `dyn Debug`
11 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.