]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error[E0321]: cross-crate traits with a default impl, like `Send`, can only be implemented for a struct/enum type, not `&'static Foo` |
0731742a | 2 | --> $DIR/empty_span.rs:7:5 |
5bcae85e | 3 | | |
532ac7d7 | 4 | LL | unsafe impl Send for &'static Foo { } |
0531ce1d | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type |
5bcae85e | 6 | |
041b39d2 | 7 | error: aborting due to previous error |
5bcae85e | 8 | |
0531ce1d | 9 | For more information about this error, try `rustc --explain E0321`. |