]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/mismatched_types/method-help-unsatisfied-bound.stderr
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[rust.git] / src / test / ui / mismatched_types / method-help-unsatisfied-bound.stderr
index 1030061b2d1feb737ee5cd4470cbfd0c0a35373e..596b7bfe79c5c56ed7d60abd088da1ad98d344e9 100644 (file)
@@ -9,6 +9,10 @@ LL |     a.unwrap();
    |
    = note: the following trait bounds were not satisfied:
            `Foo: Debug`
+help: consider annotating `Foo` with `#[derive(Debug)]`
+   |
+LL | #[derive(Debug)]
+   |
 
 error: aborting due to previous error