Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6ab8fe2

Browse files
committed
Bless tests
1 parent dd267fe commit 6ab8fe2

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

src/test/incremental/cyclic-trait-hierarchy.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
// revisions: rpass1 cfail2
44

55
#[cfg(rpass1)]
6-
pub trait T2 { }
6+
pub trait T2 {}
77
#[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`
1010

11-
pub trait T1: T2 { }
11+
pub trait T1: T2 {}
1212

13-
fn main() { }
13+
fn main() {}

src/test/ui/cycle-trait/cycle-trait-supertrait-direct.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0391]: cycle detected when computing the supertraits of `Chromosome`
1+
error[E0391]: cycle detected when computing the super predicates of `Chromosome`
22
--> $DIR/cycle-trait-supertrait-direct.rs:3:1
33
|
44
LL | trait Chromosome: Chromosome {
@@ -9,7 +9,7 @@ note: ...which requires computing the supertraits of `Chromosome`...
99
|
1010
LL | trait Chromosome: Chromosome {
1111
| ^^^^^^^^^^
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
1313
note: cycle used when collecting item types in top-level module
1414
--> $DIR/cycle-trait-supertrait-direct.rs:3:1
1515
|

src/test/ui/cycle-trait/cycle-trait-supertrait-indirect.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0391]: cycle detected when computing the supertraits of `B`
1+
error[E0391]: cycle detected when computing the super predicates of `B`
22
--> $DIR/cycle-trait-supertrait-indirect.rs:7:1
33
|
44
LL | trait B: C {
@@ -9,7 +9,7 @@ note: ...which requires computing the supertraits of `B`...
99
|
1010
LL | trait B: C {
1111
| ^
12-
note: ...which requires computing the supertraits of `C`...
12+
note: ...which requires computing the super predicates of `C`...
1313
--> $DIR/cycle-trait-supertrait-indirect.rs:11:1
1414
|
1515
LL | trait C: B { }
@@ -19,7 +19,7 @@ note: ...which requires computing the supertraits of `C`...
1919
|
2020
LL | trait C: B { }
2121
| ^
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
2323
note: cycle used when computing the supertraits of `A`
2424
--> $DIR/cycle-trait-supertrait-indirect.rs:4:10
2525
|

src/test/ui/issues/issue-12511.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0391]: cycle detected when computing the supertraits of `T1`
1+
error[E0391]: cycle detected when computing the super predicates of `T1`
22
--> $DIR/issue-12511.rs:1:1
33
|
44
LL | trait T1 : T2 {
@@ -9,7 +9,7 @@ note: ...which requires computing the supertraits of `T1`...
99
|
1010
LL | trait T1 : T2 {
1111
| ^^
12-
note: ...which requires computing the supertraits of `T2`...
12+
note: ...which requires computing the super predicates of `T2`...
1313
--> $DIR/issue-12511.rs:5:1
1414
|
1515
LL | trait T2 : T1 {
@@ -19,7 +19,7 @@ note: ...which requires computing the supertraits of `T2`...
1919
|
2020
LL | trait T2 : T1 {
2121
| ^^
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
2323
note: cycle used when collecting item types in top-level module
2424
--> $DIR/issue-12511.rs:1:1
2525
|

0 commit comments

Comments
 (0)