]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/equality.stderr
Rollup merge of #95504 - jyn514:library-alias, r=Mark-Simulacrum
[rust.git] / src / test / ui / impl-trait / equality.stderr
index 804ccbcc6c0ab3ef35073d41826aa76dd16c9670..f14b447b077300d58756493fece8e5223610e492 100644 (file)
@@ -24,6 +24,16 @@ LL |         n + sum_to(n - 1)
    |           ^ no implementation for `u32 + impl Foo`
    |
    = help: the trait `Add<impl Foo>` is not implemented for `u32`
+   = help: the following other types implement trait `Add<Rhs>`:
+             <&'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 2 previous errors; 1 warning emitted