summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0277-3.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/E0277-3.stderr')
-rw-r--r--tests/ui/error-codes/E0277-3.stderr3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/error-codes/E0277-3.stderr b/tests/ui/error-codes/E0277-3.stderr
index 0127e1ccc..0d4782935 100644
--- a/tests/ui/error-codes/E0277-3.stderr
+++ b/tests/ui/error-codes/E0277-3.stderr
@@ -14,7 +14,8 @@ LL | fn foo<T: PartialEq>(_: T) {}
| ^^^^^^^^^ required by this bound in `foo`
help: consider annotating `S` with `#[derive(PartialEq)]`
|
-LL | #[derive(PartialEq)]
+LL + #[derive(PartialEq)]
+LL | struct S;
|
error: aborting due to previous error