]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/derives/derives-span-Debug-enum-struct-variant.stderr
Update test stderr files
[rust.git] / src / test / ui / derives / derives-span-Debug-enum-struct-variant.stderr
index 64caba8e80dca021a5634816652cb73957cff2ce..dc63ec7fe6f960344c3ed6a27f26f303709186f1 100644 (file)
@@ -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