Sign in
fuchsia
/
third_party
/
rust
/
85c4b4c7f249bdb33cba9ac738efbcb9000e4b86
/
.
/
src
/
test
/
ui
/
parser
/
multitrait.rs
blob: 2c6275699b479ee0a273000047aad31052e6a04a [
file
] [
log
] [
blame
]
// compile-flags: -Z parse-only
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
()
}
}