]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/specialization/specialization-overlap-negative.rs
1 #![feature(negative_impls)]
2 #![feature(specialization)] //~ WARN the feature `specialization` is incomplete
6 struct TestType
<T
>(::std
::marker
::PhantomData
<T
>);
8 unsafe impl<T
: Clone
> Send
for TestType
<T
> {}
9 impl<T
: MyTrait
> !Send
for TestType
<T
> {}
//~ ERROR E0751