Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
specialization
/
specialization-overlap-negative.rs
blob: af80d6686e3a19869d387b5a354cd2bd83e7587e [
file
] [
log
] [
blame
]
#![
feature
(
optin_builtin_traits
)]
#![
feature
(
specialization
)]
trait
MyTrait
{}
struct
TestType
<
T
>(::
std
::
marker
::
PhantomData
<
T
>);
unsafe
impl
<
T
:
Clone
>
Send
for
TestType
<
T
>
{}
impl
<
T
:
MyTrait
>
!
Send
for
TestType
<
T
>
{}
//~ ERROR E0119
fn
main
()
{}