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