]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/specialization/issue-38091.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / specialization / issue-38091.stderr
index 97e5775ab54ee8fdc9d4353f0809104f7a94267a..d5452e1d513edc087e55520f10cfd222c61e1177 100644 (file)
@@ -11,11 +11,14 @@ LL | #![feature(specialization)]
 error[E0277]: the trait bound `(): Valid` is not satisfied
   --> $DIR/issue-38091.rs:12:5
    |
-LL |     type Ty: Valid;
-   |              ----- required by this bound in `Iterate::Ty`
-...
 LL |     default type Ty = ();
    |     ^^^^^^^^^^^^^^^^^^^^^ the trait `Valid` is not implemented for `()`
+   |
+note: required by a bound in `Iterate::Ty`
+  --> $DIR/issue-38091.rs:5:14
+   |
+LL |     type Ty: Valid;
+   |              ^^^^^ required by this bound in `Iterate::Ty`
 
 error: aborting due to previous error; 1 warning emitted