]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/suggestions/issue-84973.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / suggestions / issue-84973.stderr
index 49fa94da8592304a44ae8fbc25a62c1220b94067..649517b7d99da6c8cffb3d78e81e8ee8c836df19 100644 (file)
@@ -6,9 +6,12 @@ LL |     let o = Other::new(f);
    |                        |
    |                        expected an implementor of trait `SomeTrait`
    |                        help: consider borrowing here: `&f`
-...
+   |
+note: required by `Other::<'a, G>::new`
+  --> $DIR/issue-84973.rs:27:5
+   |
 LL |     pub fn new(g: G) -> Self {
-   |     ------------------------ required by `Other::<'a, G>::new`
+   |     ^^^^^^^^^^^^^^^^^^^^^^^^
 
 error: aborting due to previous error