]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/wf/wf-trait-default-fn-arg.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / wf / wf-trait-default-fn-arg.stderr
index 6a97d31cf3e653b4d6f908726597c773c0514a5c..ed563af592816345f138bb4c8c7a3a2abffacf5e 100644 (file)
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `Self: std::cmp::Eq` is not satisfied
   --> $DIR/wf-trait-default-fn-arg.rs:11: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`