summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/projection-discr-kind.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/new-solver/projection-discr-kind.stderr')
-rw-r--r--tests/ui/traits/new-solver/projection-discr-kind.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/traits/new-solver/projection-discr-kind.stderr b/tests/ui/traits/new-solver/projection-discr-kind.stderr
index 03e28f993..e14953f19 100644
--- a/tests/ui/traits/new-solver/projection-discr-kind.stderr
+++ b/tests/ui/traits/new-solver/projection-discr-kind.stderr
@@ -6,6 +6,11 @@ LL | needs_bar(std::mem::discriminant(&x));
| |
| required by a bound introduced by this call
|
+help: this trait has no implementations, consider adding one
+ --> $DIR/projection-discr-kind.rs:10:1
+ |
+LL | trait Bar {}
+ | ^^^^^^^^^
note: required by a bound in `needs_bar`
--> $DIR/projection-discr-kind.rs:11:22
|