Skip to content

Commit ec50190

Browse files
Bless test output
1 parent a01846f commit ec50190

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/test/ui/associated-types/defaults-specialization.stderr

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ error[E0308]: mismatched types
6969
--> $DIR/defaults-specialization.rs:88:32
7070
|
7171
LL | let _: <B<()> as Tr>::Ty = 0u8;
72-
| ^^^ expected associated type, found `u8`
72+
| ----------------- ^^^ expected associated type, found `u8`
73+
| |
74+
| expected due to this
7375
|
7476
= note: expected associated type `<B<()> as Tr>::Ty`
7577
found type `u8`
@@ -80,7 +82,9 @@ error[E0308]: mismatched types
8082
--> $DIR/defaults-specialization.rs:89:32
8183
|
8284
LL | let _: <B<()> as Tr>::Ty = true;
83-
| ^^^^ expected associated type, found `bool`
85+
| ----------------- ^^^^ expected associated type, found `bool`
86+
| |
87+
| expected due to this
8488
|
8589
= note: expected associated type `<B<()> as Tr>::Ty`
8690
found type `bool`
@@ -91,7 +95,9 @@ error[E0308]: mismatched types
9195
--> $DIR/defaults-specialization.rs:90:33
9296
|
9397
LL | let _: <B2<()> as Tr>::Ty = 0u8;
94-
| ^^^ expected associated type, found `u8`
98+
| ------------------ ^^^ expected associated type, found `u8`
99+
| |
100+
| expected due to this
95101
|
96102
= note: expected associated type `<B2<()> as Tr>::Ty`
97103
found type `u8`
@@ -102,7 +108,9 @@ error[E0308]: mismatched types
102108
--> $DIR/defaults-specialization.rs:91:33
103109
|
104110
LL | let _: <B2<()> as Tr>::Ty = true;
105-
| ^^^^ expected associated type, found `bool`
111+
| ------------------ ^^^^ expected associated type, found `bool`
112+
| |
113+
| expected due to this
106114
|
107115
= note: expected associated type `<B2<()> as Tr>::Ty`
108116
found type `bool`

0 commit comments

Comments
 (0)