2016-07-13 16:53:42 -05:00
error[E0321]: cross-crate traits with a default impl, like `std::marker::Send`, can only be implemented for a struct/enum type, not `&'static main::Foo`
2016-08-16 02:52:30 -05:00
--> $DIR/empty_span.rs:17:5
2016-07-13 16:53:42 -05:00
|
2018-02-22 18:42:32 -06:00
LL | unsafe impl Send for &'static Foo { } //~ ERROR cross-crate traits with a default impl
2018-03-14 21:10:28 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type
2016-07-13 16:53:42 -05:00
2017-07-02 05:49:30 -05:00
error: aborting due to previous error
2016-07-13 16:53:42 -05:00
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0321`.