]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/associated-types/issue-65774-1.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / associated-types / issue-65774-1.stderr
index 559136be705e28de59a639ff4f231611cfc23a1c..72f47df5d80e727b1be77f8bc4a323e49cafd671 100644 (file)
@@ -9,6 +9,11 @@ LL |     type MpuConfig: MyDisplay = T;
 error[E0277]: the trait bound `T: MyDisplay` is not satisfied
   --> $DIR/issue-65774-1.rs:16:6
    |
+LL | trait MPU {
+   |       --- required by a bound in this
+LL |     type MpuConfig: MyDisplay = T;
+   |                     --------- required by this bound in `MPU`
+...
 LL | impl MPU for S { }
    |      ^^^ the trait `MyDisplay` is not implemented for `T`