]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/cycle-trait/cycle-trait-supertrait-direct.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / cycle-trait / cycle-trait-supertrait-direct.stderr
index 8aa3ac8abf52c5eaa658bc0955a17c059e57f77a..ee54b2fd151d79294e90dd36764709b5340af359 100644 (file)
@@ -1,10 +1,15 @@
-error[E0391]: cycle detected when computing the supertraits of `Chromosome`
+error[E0391]: cycle detected when computing the super predicates of `Chromosome`
+  --> $DIR/cycle-trait-supertrait-direct.rs:3:1
+   |
+LL | trait Chromosome: Chromosome {
+   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |
+note: ...which requires computing the super traits of `Chromosome`...
   --> $DIR/cycle-trait-supertrait-direct.rs:3:19
    |
 LL | trait Chromosome: Chromosome {
    |                   ^^^^^^^^^^
-   |
-   = note: ...which again requires computing the supertraits of `Chromosome`, completing the cycle
+   = note: ...which again requires computing the super predicates of `Chromosome`, completing the cycle
 note: cycle used when collecting item types in top-level module
   --> $DIR/cycle-trait-supertrait-direct.rs:3:1
    |