]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/coherence/coherence-impls-send.rs
1 #![feature(negative_impls)]
12 impl !Sync
for NotSync {}
14 unsafe impl Send
for TestE {}
15 unsafe impl Send
for MyType {}
16 unsafe impl Send
for (MyType
, MyType
) {}
19 unsafe impl Send
for &'
static NotSync {}
22 unsafe impl Send
for [MyType
] {}
25 unsafe impl Send
for &'
static [NotSync
] {}
26 //~^ ERROR conflicting implementations of trait
27 //~| ERROR only traits defined in the current crate