Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
missing
/
missing-derivable-attr.rs
blob: 58c94de5059930f5d86c35f13fa07ed6ed6d3800 [
file
] [
log
] [
blame
]
trait
MyEq
{
fn
eq
(&
self
,
other
:
&
Self
)
->
bool
;
}
struct
A
{
x
:
isize
}
impl
MyEq
for
isize
{
fn
eq
(&
self
,
other
:
&
isize
)
->
bool
{
*
self
==
*
other
}
}
impl
MyEq
for
A
{}
//~ ERROR not all trait items implemented, missing: `eq`
fn
main
()
{
}