]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/typeck/issue-81293.stderr
Dedup logic and improve output for other types that impl trait
[rust.git] / src / test / ui / typeck / issue-81293.stderr
index 9e2d8a6159c48270c90a74fbb2143b181e66aa33..00f490c4653454585915322cc98a842727dadfb4 100644 (file)
@@ -20,15 +20,15 @@ LL |     a = c + b * 5;
    |           ^ no implementation for `usize + u16`
    |
    = help: the trait `Add<u16>` is not implemented for `usize`
-   = help: the following implementations were found:
-             <&'a usize as Add<usize>>
-             <&usize as Add<&usize>>
-             <usize as Add<&usize>>
-             <usize as Add>
+   = help: the following other types implement trait `Add`:
              <&'a f32 as Add<f32>>
              <&'a f64 as Add<f64>>
              <&'a i128 as Add<i128>>
              <&'a i16 as Add<i16>>
+             <&'a i32 as Add<i32>>
+             <&'a i64 as Add<i64>>
+             <&'a i8 as Add<i8>>
+             <&'a isize as Add<isize>>
            and 48 others
 
 error: aborting due to 3 previous errors