]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/ufcs/ufcs-qpath-self-mismatch.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / ufcs / ufcs-qpath-self-mismatch.stderr
index a2bf963044582278e921e1872847b920b8de665f..e30e4f5e7d3fd9caea78d069b224b8c6a521d9f8 100644 (file)
@@ -5,7 +5,11 @@ LL |     <i32 as Add<u32>>::add(1, 2);
    |     ^^^^^^^^^^^^^^^^^^^^^^ no implementation for `i32 + u32`
    |
    = help: the trait `Add<u32>` is not implemented for `i32`
-   = note: required by `add`
+note: required by `add`
+  --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
+   |
+LL |     fn add(self, rhs: Rhs) -> Self::Output;
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 error[E0308]: mismatched types
   --> $DIR/ufcs-qpath-self-mismatch.rs:6:28