use ghost::phantom; #[phantom] pub struct MyPhantom; // Test that #[phantom] doesn't contain its own explicit autotrait impls, which // would conflict with the following. unsafe impl Send for MyPhantom {} unsafe impl Sync for MyPhantom {}