This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 3
3
// revisions: rpass1 cfail2
4
4
5
5
#[ cfg( rpass1) ]
6
- pub trait T2 { }
6
+ pub trait T2 { }
7
7
#[ cfg( cfail2) ]
8
- pub trait T2 : T1 { }
9
- //[cfail2]~^ ERROR cycle detected when computing the supertraits of `T2`
8
+ pub trait T2 : T1 { }
9
+ //[cfail2]~^ ERROR cycle detected when computing the super predicates of `T2`
10
10
11
- pub trait T1 : T2 { }
11
+ pub trait T1 : T2 { }
12
12
13
- fn main ( ) { }
13
+ fn main ( ) { }
Original file line number Diff line number Diff line change 1
- error[E0391]: cycle detected when computing the supertraits of `Chromosome`
1
+ error[E0391]: cycle detected when computing the super predicates of `Chromosome`
2
2
--> $DIR/cycle-trait-supertrait-direct.rs:3:1
3
3
|
4
4
LL | trait Chromosome: Chromosome {
@@ -9,7 +9,7 @@ note: ...which requires computing the supertraits of `Chromosome`...
9
9
|
10
10
LL | trait Chromosome: Chromosome {
11
11
| ^^^^^^^^^^
12
- = note: ...which again requires computing the supertraits of `Chromosome`, completing the cycle
12
+ = note: ...which again requires computing the super predicates of `Chromosome`, completing the cycle
13
13
note: cycle used when collecting item types in top-level module
14
14
--> $DIR/cycle-trait-supertrait-direct.rs:3:1
15
15
|
Original file line number Diff line number Diff line change 1
- error[E0391]: cycle detected when computing the supertraits of `B`
1
+ error[E0391]: cycle detected when computing the super predicates of `B`
2
2
--> $DIR/cycle-trait-supertrait-indirect.rs:7:1
3
3
|
4
4
LL | trait B: C {
@@ -9,7 +9,7 @@ note: ...which requires computing the supertraits of `B`...
9
9
|
10
10
LL | trait B: C {
11
11
| ^
12
- note: ...which requires computing the supertraits of `C`...
12
+ note: ...which requires computing the super predicates of `C`...
13
13
--> $DIR/cycle-trait-supertrait-indirect.rs:11:1
14
14
|
15
15
LL | trait C: B { }
@@ -19,7 +19,7 @@ note: ...which requires computing the supertraits of `C`...
19
19
|
20
20
LL | trait C: B { }
21
21
| ^
22
- = note: ...which again requires computing the supertraits of `B`, completing the cycle
22
+ = note: ...which again requires computing the super predicates of `B`, completing the cycle
23
23
note: cycle used when computing the supertraits of `A`
24
24
--> $DIR/cycle-trait-supertrait-indirect.rs:4:10
25
25
|
Original file line number Diff line number Diff line change 1
- error[E0391]: cycle detected when computing the supertraits of `T1`
1
+ error[E0391]: cycle detected when computing the super predicates of `T1`
2
2
--> $DIR/issue-12511.rs:1:1
3
3
|
4
4
LL | trait T1 : T2 {
@@ -9,7 +9,7 @@ note: ...which requires computing the supertraits of `T1`...
9
9
|
10
10
LL | trait T1 : T2 {
11
11
| ^^
12
- note: ...which requires computing the supertraits of `T2`...
12
+ note: ...which requires computing the super predicates of `T2`...
13
13
--> $DIR/issue-12511.rs:5:1
14
14
|
15
15
LL | trait T2 : T1 {
@@ -19,7 +19,7 @@ note: ...which requires computing the supertraits of `T2`...
19
19
|
20
20
LL | trait T2 : T1 {
21
21
| ^^
22
- = note: ...which again requires computing the supertraits of `T1`, completing the cycle
22
+ = note: ...which again requires computing the super predicates of `T1`, completing the cycle
23
23
note: cycle used when collecting item types in top-level module
24
24
--> $DIR/issue-12511.rs:1:1
25
25
|
You can’t perform that action at this time.
0 commit comments