Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
multitrait.rs
blob: f9b4b37acc0dd1240386eefe977decc19593d121 [
file
] [
log
] [
blame
] [
edit
]
struct
S
{
y
:
isize
}
impl
Cmp
,
ToString
for
S
{
//~^ ERROR: expected one of `!`, `(`, `+`, `::`, `<`, `for`, `where`, or `{`, found `,`
fn
eq
(&&
other
:
S
)
{
false
}
fn
to_string
(&
self
)
->
String
{
"hi"
.
to_string
()
}
}