about summary refs log tree commit diff
path: root/tests/ui/traits/const-traits/trait-where-clause.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/const-traits/trait-where-clause.stderr')
-rw-r--r--tests/ui/traits/const-traits/trait-where-clause.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/traits/const-traits/trait-where-clause.stderr b/tests/ui/traits/const-traits/trait-where-clause.stderr
index abe24b662a2..8a621633b63 100644
--- a/tests/ui/traits/const-traits/trait-where-clause.stderr
+++ b/tests/ui/traits/const-traits/trait-where-clause.stderr
@@ -33,7 +33,7 @@ note: required by a bound in `Foo::b`
    |
 LL |     fn b() where Self: ~const Bar;
    |                        ^^^^^^^^^^ required by this bound in `Foo::b`
-help: consider further restricting this bound
+help: consider further restricting this bound with trait `Bar`
    |
 LL | fn test1<T: Foo + Bar>() {
    |                 +++++
@@ -49,7 +49,7 @@ note: required by a bound in `Foo::c`
    |
 LL |     fn c<T: ~const Bar>();
    |             ^^^^^^^^^^ required by this bound in `Foo::c`
-help: consider further restricting this bound
+help: consider further restricting this bound with trait `Bar`
    |
 LL | fn test1<T: Foo + Bar>() {
    |                 +++++