Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-3344.rs
blob: de764b3d075d3987d15bf819cf361c3ca14495c0 [
file
] [
log
] [
blame
] [
edit
]
#[
derive
(
PartialEq
)]
struct
Thing
(
usize
);
impl
PartialOrd
for
Thing
{
//~ ERROR not all trait items implemented, missing: `partial_cmp`
fn
le
(&
self
,
other
:
&
Thing
)
->
bool
{
true
}
fn
ge
(&
self
,
other
:
&
Thing
)
->
bool
{
true
}
}
fn
main
()
{}