Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
error-codes
/
E0277-3.rs
blob: 428be79617d7feebf7b1a147b16e203f8801c092 [
file
] [
log
] [
blame
]
fn
foo
<
T
:
PartialEq
>(
_
:
T
)
{}
struct
S
;
fn
main
()
{
foo
(
S
);
//~^ ERROR can't compare `S` with `S`
}