]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-impl-trait-for-trait-object-safe.re.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / coherence / coherence-impl-trait-for-trait-object-safe.re.stderr
1 error[E0038]: the trait `NotObjectSafe` cannot be made into an object
2   --> $DIR/coherence-impl-trait-for-trait-object-safe.rs:11:6
3    |
4 LL | impl NotObjectSafe for NotObjectSafe { }
5    |      ^^^^^^^^^^^^^ the trait `NotObjectSafe` cannot be made into an object
6    |
7    = note: method `eq` references the `Self` type in its arguments or return type
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0038`.