]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/wf/wf-trait-fn-arg.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / wf / wf-trait-fn-arg.stderr
index 69e2ab72912d4baaa279768c1b1f3bce93208f79..494619a2f291ef38c01b25a19bc776c2a6f0f001 100644 (file)
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `Self: std::cmp::Eq` is not satisfied
   --> $DIR/wf-trait-fn-arg.rs:10:22
    |
 LL | struct Bar<T:Eq+?Sized> { value: Box<T> }
-   | ----------------------- required by `Bar`
+   |              -- required by this bound in `Bar`
 ...
 LL |     fn bar(&self, x: &Bar<Self>);
    |                      ^^^^^^^^^^ - help: consider further restricting `Self`: `where Self: std::cmp::Eq`