You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/test/ui/traits/alias/no-duplicates.stderr
+27-27
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
error[E0225]: only auto traits can be used as additional traits in a trait object
2
-
--> $DIR/trait-alias-no-duplicates.rs:16:22
2
+
--> $DIR/no-duplicates.rs:16:22
3
3
|
4
4
LL | trait _0 = Obj;
5
5
| ---
@@ -16,7 +16,7 @@ LL | type _T00 = dyn _0 + _0;
16
16
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
17
17
18
18
error[E0225]: only auto traits can be used as additional traits in a trait object
19
-
--> $DIR/trait-alias-no-duplicates.rs:19:22
19
+
--> $DIR/no-duplicates.rs:19:22
20
20
|
21
21
LL | trait _0 = Obj;
22
22
| ---
@@ -35,7 +35,7 @@ LL | type _T01 = dyn _1 + _0;
35
35
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
36
36
37
37
error[E0225]: only auto traits can be used as additional traits in a trait object
38
-
--> $DIR/trait-alias-no-duplicates.rs:22:22
38
+
--> $DIR/no-duplicates.rs:22:22
39
39
|
40
40
LL | trait _0 = Obj;
41
41
| ---
@@ -57,7 +57,7 @@ LL | type _T02 = dyn _1 + _1;
57
57
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
58
58
59
59
error[E0225]: only auto traits can be used as additional traits in a trait object
60
-
--> $DIR/trait-alias-no-duplicates.rs:25:23
60
+
--> $DIR/no-duplicates.rs:25:23
61
61
|
62
62
LL | trait _0 = Obj;
63
63
| --- additional non-auto trait
@@ -73,7 +73,7 @@ LL | type _T03 = dyn Obj + _1;
73
73
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
74
74
75
75
error[E0225]: only auto traits can be used as additional traits in a trait object
76
-
--> $DIR/trait-alias-no-duplicates.rs:28:22
76
+
--> $DIR/no-duplicates.rs:28:22
77
77
|
78
78
LL | trait _0 = Obj;
79
79
| --- first non-auto trait
@@ -89,7 +89,7 @@ LL | type _T04 = dyn _1 + Obj;
89
89
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
90
90
91
91
error[E0225]: only auto traits can be used as additional traits in a trait object
92
-
--> $DIR/trait-alias-no-duplicates.rs:37:17
92
+
--> $DIR/no-duplicates.rs:37:17
93
93
|
94
94
LL | trait _0 = Obj;
95
95
| ---
@@ -114,7 +114,7 @@ LL | type _T10 = dyn _2 + _3;
114
114
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
115
115
116
116
error[E0225]: only auto traits can be used as additional traits in a trait object
117
-
--> $DIR/trait-alias-no-duplicates.rs:40:22
117
+
--> $DIR/no-duplicates.rs:40:22
118
118
|
119
119
LL | trait _0 = Obj;
120
120
| --- additional non-auto trait
@@ -133,7 +133,7 @@ LL | type _T11 = dyn _3 + _2;
133
133
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
134
134
135
135
error[E0225]: only auto traits can be used as additional traits in a trait object
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
151
151
152
152
error[E0225]: only auto traits can be used as additional traits in a trait object
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
176
176
177
177
error[E0225]: only auto traits can be used as additional traits in a trait object
178
-
--> $DIR/trait-alias-no-duplicates.rs:49:22
178
+
--> $DIR/no-duplicates.rs:49:22
179
179
|
180
180
LL | trait _0 = Obj;
181
181
| --- first non-auto trait
@@ -194,7 +194,7 @@ LL | type _T14 = dyn _1 + _3;
194
194
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
195
195
196
196
error[E0225]: only auto traits can be used as additional traits in a trait object
197
-
--> $DIR/trait-alias-no-duplicates.rs:52:22
197
+
--> $DIR/no-duplicates.rs:52:22
198
198
|
199
199
LL | trait _0 = Obj;
200
200
| --- additional non-auto trait
@@ -213,7 +213,7 @@ LL | type _T15 = dyn _3 + _1;
213
213
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
214
214
215
215
error[E0225]: only auto traits can be used as additional traits in a trait object
216
-
--> $DIR/trait-alias-no-duplicates.rs:55:22
216
+
--> $DIR/no-duplicates.rs:55:22
217
217
|
218
218
LL | trait _0 = Obj;
219
219
| --- first non-auto trait
@@ -234,7 +234,7 @@ LL | type _T16 = dyn _1 + _4;
234
234
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
235
235
236
236
error[E0225]: only auto traits can be used as additional traits in a trait object
237
-
--> $DIR/trait-alias-no-duplicates.rs:58:22
237
+
--> $DIR/no-duplicates.rs:58:22
238
238
|
239
239
LL | trait _0 = Obj;
240
240
| --- additional non-auto trait
@@ -255,7 +255,7 @@ LL | type _T17 = dyn _4 + _1;
255
255
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
256
256
257
257
error[E0225]: only auto traits can be used as additional traits in a trait object
258
-
--> $DIR/trait-alias-no-duplicates.rs:65:22
258
+
--> $DIR/no-duplicates.rs:65:22
259
259
|
260
260
LL | trait _5 = Obj + Send;
261
261
| ---
@@ -272,7 +272,7 @@ LL | type _T20 = dyn _5 + _5;
272
272
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
273
273
274
274
error[E0225]: only auto traits can be used as additional traits in a trait object
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
287
287
288
288
error[E0225]: only auto traits can be used as additional traits in a trait object
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
301
301
302
302
error[E0225]: only auto traits can be used as additional traits in a trait object
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
315
315
316
316
error[E0225]: only auto traits can be used as additional traits in a trait object
317
-
--> $DIR/trait-alias-no-duplicates.rs:81:17
317
+
--> $DIR/no-duplicates.rs:81:17
318
318
|
319
319
LL | trait _5 = Obj + Send;
320
320
| ---
@@ -337,7 +337,7 @@ LL | type _T30 = dyn _6;
337
337
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
338
338
339
339
error[E0225]: only auto traits can be used as additional traits in a trait object
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
361
361
362
362
error[E0225]: only auto traits can be used as additional traits in a trait object
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
384
384
385
385
error[E0225]: only auto traits can be used as additional traits in a trait object
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
403
403
404
404
error[E0225]: only auto traits can be used as additional traits in a trait object
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
422
422
423
423
error[E0225]: only auto traits can be used as additional traits in a trait object
424
-
--> $DIR/trait-alias-no-duplicates.rs:101:22
424
+
--> $DIR/no-duplicates.rs:101:22
425
425
|
426
426
LL | trait _3 = Obj;
427
427
| --- additional non-auto trait
@@ -445,7 +445,7 @@ LL | type _T42 = dyn _8 + _4;
445
445
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
446
446
447
447
error[E0225]: only auto traits can be used as additional traits in a trait object
448
-
--> $DIR/trait-alias-no-duplicates.rs:104:22
448
+
--> $DIR/no-duplicates.rs:104:22
449
449
|
450
450
LL | trait _3 = Obj;
451
451
| --- first non-auto trait
@@ -469,7 +469,7 @@ LL | type _T43 = dyn _4 + _8;
469
469
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
470
470
471
471
error[E0225]: only auto traits can be used as additional traits in a trait object
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
494
494
495
495
error[E0225]: only auto traits can be used as additional traits in a trait object
= note: auto-traits like `Send` and `Sync` are traits that have special properties; for more information on them, visit <https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits>
509
509
510
510
error[E0225]: only auto traits can be used as additional traits in a trait object
0 commit comments