about summary refs log tree commit diff
path: root/src/test/ui/chalkify
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/chalkify
parent0efc6c02cbb0d4de6ee15ef5463958904f95c05d (diff)
downloadrust-f2aea1ea6e5ae0aa7c8657caf02ec3f68f3ee945.tar.gz
rust-f2aea1ea6e5ae0aa7c8657caf02ec3f68f3ee945.zip
further update `fuzzy_match_tys`
Diffstat (limited to 'src/test/ui/chalkify')
-rw-r--r--src/test/ui/chalkify/chalk_initial_program.stderr3
-rw-r--r--src/test/ui/chalkify/impl_wf.stderr2
-rw-r--r--src/test/ui/chalkify/impl_wf_2.stderr2
-rw-r--r--src/test/ui/chalkify/type_inference.stderr3
-rw-r--r--src/test/ui/chalkify/type_wf.stderr2
5 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/chalkify/chalk_initial_program.stderr b/src/test/ui/chalkify/chalk_initial_program.stderr
index f8b792ae536..7b0b3f85b39 100644
--- a/src/test/ui/chalkify/chalk_initial_program.stderr
+++ b/src/test/ui/chalkify/chalk_initial_program.stderr
@@ -4,6 +4,9 @@ error[E0277]: the trait bound `f32: Foo` is not satisfied
 LL |     gimme::<f32>();
    |             ^^^ the trait `Foo` is not implemented for `f32`
    |
+   = help: the following implementations were found:
+             <i32 as Foo>
+             <u32 as Foo>
 note: required by a bound in `gimme`
   --> $DIR/chalk_initial_program.rs:9:13
    |
diff --git a/src/test/ui/chalkify/impl_wf.stderr b/src/test/ui/chalkify/impl_wf.stderr
index 95e320726aa..2bc9f077f02 100644
--- a/src/test/ui/chalkify/impl_wf.stderr
+++ b/src/test/ui/chalkify/impl_wf.stderr
@@ -17,6 +17,8 @@ error[E0277]: the trait bound `f32: Foo` is not satisfied
 LL | impl Baz<f32> for f32 { }
    |      ^^^^^^^^ the trait `Foo` is not implemented for `f32`
    |
+   = help: the following implementations were found:
+             <i32 as Foo>
 note: required by a bound in `Baz`
   --> $DIR/impl_wf.rs:18:31
    |
diff --git a/src/test/ui/chalkify/impl_wf_2.stderr b/src/test/ui/chalkify/impl_wf_2.stderr
index 80ec03d6221..30cec80b036 100644
--- a/src/test/ui/chalkify/impl_wf_2.stderr
+++ b/src/test/ui/chalkify/impl_wf_2.stderr
@@ -4,6 +4,8 @@ error[E0277]: the trait bound `f32: Foo` is not satisfied
 LL |     type Item = f32;
    |                 ^^^ the trait `Foo` is not implemented for `f32`
    |
+   = help: the following implementations were found:
+             <i32 as Foo>
 note: required by a bound in `Bar::Item`
   --> $DIR/impl_wf_2.rs:8:16
    |
diff --git a/src/test/ui/chalkify/type_inference.stderr b/src/test/ui/chalkify/type_inference.stderr
index a05d8d6aa37..14d43c1474c 100644
--- a/src/test/ui/chalkify/type_inference.stderr
+++ b/src/test/ui/chalkify/type_inference.stderr
@@ -6,6 +6,9 @@ LL |     only_bar(x);
    |     |
    |     required by a bound introduced by this call
    |
+   = help: the following implementations were found:
+             <i32 as Bar>
+             <u32 as Bar>
 note: required by a bound in `only_bar`
   --> $DIR/type_inference.rs:12:16
    |
diff --git a/src/test/ui/chalkify/type_wf.stderr b/src/test/ui/chalkify/type_wf.stderr
index d029eb2400b..6abd8b28760 100644
--- a/src/test/ui/chalkify/type_wf.stderr
+++ b/src/test/ui/chalkify/type_wf.stderr
@@ -4,6 +4,8 @@ error[E0277]: the trait bound `{float}: Foo` is not satisfied
 LL |     let s = S {
    |             ^ the trait `Foo` is not implemented for `{float}`
    |
+   = help: the following implementations were found:
+             <i32 as Foo>
 note: required by a bound in `S`
   --> $DIR/type_wf.rs:6:13
    |