summaryrefslogtreecommitdiffstats
path: root/tests/ui/infinite
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/infinite')
-rw-r--r--tests/ui/infinite/infinite-trait-alias-recursion.stderr17
1 files changed, 1 insertions, 16 deletions
diff --git a/tests/ui/infinite/infinite-trait-alias-recursion.stderr b/tests/ui/infinite/infinite-trait-alias-recursion.stderr
index b925b3b01..683987b49 100644
--- a/tests/ui/infinite/infinite-trait-alias-recursion.stderr
+++ b/tests/ui/infinite/infinite-trait-alias-recursion.stderr
@@ -1,30 +1,15 @@
error[E0391]: cycle detected when computing the super predicates of `T1`
- --> $DIR/infinite-trait-alias-recursion.rs:3:1
- |
-LL | trait T1 = T2;
- | ^^^^^^^^
- |
-note: ...which requires computing the super traits of `T1`...
--> $DIR/infinite-trait-alias-recursion.rs:3:12
|
LL | trait T1 = T2;
| ^^
-note: ...which requires computing the super predicates of `T2`...
- --> $DIR/infinite-trait-alias-recursion.rs:6:1
|
-LL | trait T2 = T3;
- | ^^^^^^^^
-note: ...which requires computing the super traits of `T2`...
+note: ...which requires computing the super predicates of `T2`...
--> $DIR/infinite-trait-alias-recursion.rs:6:12
|
LL | trait T2 = T3;
| ^^
note: ...which requires computing the super predicates of `T3`...
- --> $DIR/infinite-trait-alias-recursion.rs:8:1
- |
-LL | trait T3 = T1 + T3;
- | ^^^^^^^^
-note: ...which requires computing the super traits of `T3`...
--> $DIR/infinite-trait-alias-recursion.rs:8:12
|
LL | trait T3 = T1 + T3;