1
Fork 0
rust/src/test/ui/codemap_tests/empty_span.stderr

9 lines
325 B
Text
Raw Normal View History

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 16:52:30 +09:00
--> $DIR/empty_span.rs:17:5
|
2016-08-16 16:52:30 +09:00
17 | unsafe impl Send for &'static Foo { }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error(s)