]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/chalkify/chalk_initial_program.stderr
Dedup logic and improve output for other types that impl trait
[rust.git] / src / test / ui / chalkify / chalk_initial_program.stderr
index 7b0b3f85b39158d27ffcf442e33772ab3eec2db2..343c0a31862b9969ad97657e95664f3173389868 100644 (file)
@@ -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
    |