summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/inductive-overflow/supertrait-auto-trait.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/inductive-overflow/supertrait-auto-trait.stderr')
-rw-r--r--tests/ui/traits/inductive-overflow/supertrait-auto-trait.stderr3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/traits/inductive-overflow/supertrait-auto-trait.stderr b/tests/ui/traits/inductive-overflow/supertrait-auto-trait.stderr
index dc967d512..e723c7c51 100644
--- a/tests/ui/traits/inductive-overflow/supertrait-auto-trait.stderr
+++ b/tests/ui/traits/inductive-overflow/supertrait-auto-trait.stderr
@@ -26,7 +26,8 @@ LL | fn copy<T: Magic>(x: T) -> (T, T) { (x, x) }
| ^^^^^ required by this bound in `copy`
help: consider annotating `NoClone` with `#[derive(Copy)]`
|
-LL | #[derive(Copy)]
+LL + #[derive(Copy)]
+LL | struct NoClone;
|
error: aborting due to 2 previous errors