fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
609 B14 linesraw
1error[E0277]: `Error` doesn't implement `std::fmt::Debug`
2  --> $DIR/derives-span-Debug-tuple-struct.rs:8:5
3   |
4LL |     Error
5   |     ^^^^^ `Error` cannot be formatted using `{:?}`
6   |
7   = help: the trait `std::fmt::Debug` is not implemented for `Error`
8   = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug`
9   = note: required because of the requirements on the impl of `std::fmt::Debug` for `&Error`
10   = note: required for the cast to the object type `dyn std::fmt::Debug`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0277`.