This website requires JavaScript.
Explore
Sign In
mirror
/
rust
mirror of
https://github.com/rust-lang/rust
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
rust
/
tests
/
ui
/
error-codes
/
E0277-3.rs
9 lines
110 B
Rust
Raw
Permalink
Blame
History
fn
foo
<
T
:
PartialEq
>
(
_
:
T
)
{
}
struct
S
;
fn
main
(
)
{
foo
(
S
)
;
//~^ ERROR can't compare `S` with `S`
}
Reference in New Issue
View Git Blame
Copy Permalink