summaryrefslogtreecommitdiffstats
path: root/tests/ui/wf/wf-const-type.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/wf/wf-const-type.stderr')
-rw-r--r--tests/ui/wf/wf-const-type.stderr3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/wf/wf-const-type.stderr b/tests/ui/wf/wf-const-type.stderr
index 85938364e..617969720 100644
--- a/tests/ui/wf/wf-const-type.stderr
+++ b/tests/ui/wf/wf-const-type.stderr
@@ -12,7 +12,8 @@ LL | struct IsCopy<T:Copy> { t: T }
| ^^^^ required by this bound in `IsCopy`
help: consider annotating `NotCopy` with `#[derive(Copy)]`
|
-LL | #[derive(Copy)]
+LL + #[derive(Copy)]
+LL | struct NotCopy;
|
error: aborting due to previous error