Debian Codegraph @

tests/autotraits.rs

raw symbols SCIP
1 use ghostrust-analyzer cargo ghost 0.1.5 crate/::phantomrust-analyzer cargo ghost 0.1.5 phantom:;
2
3 #[phantomrust-analyzer cargo ghost 0.1.5 phantom:]
4 pub struct MyPhantomrust-analyzer cargo ghost 0.1.5 __void_MyPhantom/MyPhantom#<T>;
5
6 // Test that #[phantom] doesn't contain its own explicit autotrait impls, which
7 // would conflict with the following.
8 unsafe impl<T> Sendrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Send# for MyPhantomrust-analyzer cargo ghost 0.1.5 MyPhantom#<T> {}
9 unsafe impl<T> Syncrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sync# for MyPhantomrust-analyzer cargo ghost 0.1.5 MyPhantom#<T> {}