]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/unique-pinned-nocopy.stderr
Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jsha
[rust.git] / src / test / ui / unique-pinned-nocopy.stderr
index 8e0804ebf9be93401918c40519db312a6c9eaaf6..02ce371c8d5efa136448224f9615cf977cc8a7ae 100644 (file)
@@ -21,6 +21,10 @@ LL | | >(Unique<T>, A);
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following trait defines an item `clone`, perhaps you need to implement it:
            candidate #1: `Clone`
+help: consider annotating `R` with `#[derive(Clone)]`
+   |
+LL | #[derive(Clone)]
+   |
 
 error: aborting due to previous error