diff options
| author | Esteban Kuber <esteban@kuber.com.ar> | 2022-03-27 01:49:01 +0000 |
|---|---|---|
| committer | Esteban Kuber <esteban@kuber.com.ar> | 2022-04-04 21:06:35 +0000 |
| commit | ef91519b45d2bbf0ce8c0180118160562eaaa0ca (patch) | |
| tree | ab798e750270dc35abaadabf38e6946025faf9b8 /src/test/ui/chalkify | |
| parent | e2bba0708a1e4b0c21f94de56c2bd5d66d3b825f (diff) | |
Dedup logic and improve output for other types that impl trait
Diffstat (limited to 'src/test/ui/chalkify')
| -rw-r--r-- | src/test/ui/chalkify/chalk_initial_program.stderr | 6 | ||||
| -rw-r--r-- | src/test/ui/chalkify/type_inference.stderr | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/chalkify/chalk_initial_program.stderr b/src/test/ui/chalkify/chalk_initial_program.stderr index 7b0b3f85b39..343c0a31862 100644 --- a/src/test/ui/chalkify/chalk_initial_program.stderr +++ b/src/test/ui/chalkify/chalk_initial_program.stderr @@ -4,9 +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> + = help: the following other types implement trait `Foo`: + i32 + u32 note: required by a bound in `gimme` --> $DIR/chalk_initial_program.rs:9:13 | diff --git a/src/test/ui/chalkify/type_inference.stderr b/src/test/ui/chalkify/type_inference.stderr index 14d43c1474c..508a6dd1388 100644 --- a/src/test/ui/chalkify/type_inference.stderr +++ b/src/test/ui/chalkify/type_inference.stderr @@ -6,9 +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> + = help: the following other types implement trait `Bar`: + i32 + u32 note: required by a bound in `only_bar` --> $DIR/type_inference.rs:12:16 | |
