Files
rust/src/test/ui/coherence/coherence-impl-trait-for-trait-object-safe.old.stderr

12 lines
458 B
Plaintext
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0038]: the trait `NotObjectSafe` cannot be made into an object
2018-12-29 02:13:06 +01:00
--> $DIR/coherence-impl-trait-for-trait-object-safe.rs:11:6
2018-08-08 14:28:26 +02:00
|
2018-12-29 02:13:06 +01:00
LL | impl NotObjectSafe for NotObjectSafe { }
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^ the trait `NotObjectSafe` cannot be made into an object
|
= note: method `eq` references the `Self` type in its arguments or return type
error: aborting due to previous error
For more information about this error, try `rustc --explain E0038`.