X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fderives%2Fderives-span-Debug-enum-struct-variant.stderr;h=dc63ec7fe6f960344c3ed6a27f26f303709186f1;hb=c1d636ad8a9044ff0494f3a1f2792a535b620fca;hp=64caba8e80dca021a5634816652cb73957cff2ce;hpb=ac4f7deb2f3558d2d923fa6ddcbb7210db9c2d52;p=rust.git diff --git a/src/test/ui/derives/derives-span-Debug-enum-struct-variant.stderr b/src/test/ui/derives/derives-span-Debug-enum-struct-variant.stderr index 64caba8e80d..dc63ec7fe6f 100644 --- a/src/test/ui/derives/derives-span-Debug-enum-struct-variant.stderr +++ b/src/test/ui/derives/derives-span-Debug-enum-struct-variant.stderr @@ -5,10 +5,8 @@ LL | x: Error | ^^^^^^^^ `Error` cannot be formatted using `{:?}` | = help: the trait `Debug` is not implemented for `Error` - = note: add `#[derive(Debug)]` or manually implement `Debug` - = note: required because of the requirements on the impl of `Debug` for `&Error` - = note: required for the cast to the object type `dyn Debug` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: add `#[derive(Debug)]` to `Error` or manually implement `Debug` for `Error` + = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error