rust/tests/ui/codemap_tests/empty_span.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
445 B
Plaintext
Raw Normal View History

error[E0321]: cross-crate traits with a default impl, like `Send`, can only be implemented for a struct/enum type, not `&'static Foo`
2018-12-25 09:56:47 -06:00
--> $DIR/empty_span.rs:7:5
|
2019-03-09 06:03:44 -06:00
LL | unsafe impl Send for &'static Foo { }
2018-03-14 21:10:28 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0321`.