about summary refs log tree commit diff
path: root/src/test/ui/specialization
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2022-02-11 16:12:22 +0100
committerlcnr <rust@lcnr.de>2022-02-14 07:37:15 +0100
commitf2aea1ea6e5ae0aa7c8657caf02ec3f68f3ee945 (patch)
treef71fe2c9c929e8fc8d296a4a3b525718ae5e50a6 /src/test/ui/specialization
parent0efc6c02cbb0d4de6ee15ef5463958904f95c05d (diff)
downloadrust-f2aea1ea6e5ae0aa7c8657caf02ec3f68f3ee945.tar.gz
rust-f2aea1ea6e5ae0aa7c8657caf02ec3f68f3ee945.zip
further update `fuzzy_match_tys`
Diffstat (limited to 'src/test/ui/specialization')
-rw-r--r--src/test/ui/specialization/default-associated-type-bound-1.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/specialization/default-associated-type-bound-1.stderr b/src/test/ui/specialization/default-associated-type-bound-1.stderr
index 6680a29f942..f88acfb2e79 100644
--- a/src/test/ui/specialization/default-associated-type-bound-1.stderr
+++ b/src/test/ui/specialization/default-associated-type-bound-1.stderr
@@ -14,6 +14,8 @@ error[E0277]: the trait bound `str: Clone` is not satisfied
 LL |     default type U = str;
    |                      ^^^ the trait `Clone` is not implemented for `str`
    |
+   = help: the following implementations were found:
+             <String as Clone>
 note: required by a bound in `X::U`
   --> $DIR/default-associated-type-bound-1.rs:8:13
    |