Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
parser
/
multitrait.rs
blob: f9b4b37acc0dd1240386eefe977decc19593d121 [
file
] [
log
] [
blame
]
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
()
}
}