about summary refs log tree commit diff
path: root/tests/ui/wf/wf-enum-fields-struct-variant.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/wf/wf-enum-fields-struct-variant.stderr')
-rw-r--r--tests/ui/wf/wf-enum-fields-struct-variant.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/wf/wf-enum-fields-struct-variant.stderr b/tests/ui/wf/wf-enum-fields-struct-variant.stderr
index 2f2c1c2d266..ff5874ac3e4 100644
--- a/tests/ui/wf/wf-enum-fields-struct-variant.stderr
+++ b/tests/ui/wf/wf-enum-fields-struct-variant.stderr
@@ -9,7 +9,7 @@ note: required by a bound in `IsCopy`
    |
 LL | struct IsCopy<T:Copy> {
    |                 ^^^^ required by this bound in `IsCopy`
-help: consider restricting type parameter `A`
+help: consider restricting type parameter `A` with trait `std::marker::Copy`
    |
 LL | enum AnotherEnum<A: std::marker::Copy> {
    |                   +++++++++++++++++++