]> 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 2151335992fbcac3212f2146c0b39e9a47145e83..dc63ec7fe6f960344c3ed6a27f26f303709186f1 100644 (file)
@@ -5,9 +5,7 @@ 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: 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