Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
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
()
{}