fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
731 B21 linesraw
1error[E0277]: `Error` doesn't implement `Debug`
2  --> $DIR/derives-span-Debug-enum.rs:9:6
3   |
4LL | #[derive(Debug)]
5   |          ----- in this derive macro expansion
6...
7LL |      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)
13help: consider annotating `Error` with `#[derive(Debug)]`
14   |
15LL + #[derive(Debug)]
16LL | struct Error;
17   |
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0277`.