Sign in
fuchsia
/
third_party
/
rust
/
e356279bdfe6840236877b298f0c577e0f9221ff
/
.
/
tests
/
ui
/
trait-method-number-parameters.rs
blob: 719005d664387ddb86c3362d39f4ef60daebac2b [
file
] [
log
] [
blame
]
trait
Foo
{
fn
foo
(&
mut
self
,
x
:
i32
,
y
:
i32
)
->
i32
;
}
impl
Foo
for
i32
{
fn
foo
(
&
mut
self
,
//~ ERROR
x
:
i32
,
)
{
}
}
fn
main
()
{}