summaryrefslogtreecommitdiffstats
path: root/tests/ui/where-clauses/where-clauses-unsatisfied.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/where-clauses/where-clauses-unsatisfied.stderr')
-rw-r--r--tests/ui/where-clauses/where-clauses-unsatisfied.stderr3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/where-clauses/where-clauses-unsatisfied.stderr b/tests/ui/where-clauses/where-clauses-unsatisfied.stderr
index b1805a452..4d239bf43 100644
--- a/tests/ui/where-clauses/where-clauses-unsatisfied.stderr
+++ b/tests/ui/where-clauses/where-clauses-unsatisfied.stderr
@@ -11,7 +11,8 @@ LL | fn equal<T>(a: &T, b: &T) -> bool where T : Eq { a == b }
| ^^ required by this bound in `equal`
help: consider annotating `Struct` with `#[derive(Eq)]`
|
-LL | #[derive(Eq)]
+LL + #[derive(Eq)]
+LL | struct Struct;
|
error: aborting due to previous error