Sign in
fuchsia
/
third_party
/
rust
/
13ef05e2be9862ea7b94d0b42e0b2d044b3c7f6b
/
.
/
tests
/
ui
/
tuple
/
wrong_argument_ice-2.rs
blob: e1c1d748fec0a601051cde1c2fd7322e128b0ee4 [
file
] [
log
] [
blame
]
fn
test
(
t
:
(
i32
,
i32
))
{}
struct
Foo
;
impl
Foo
{
fn
qux
(&
self
)
->
i32
{
0
}
}
fn
bar
()
{
let
x
=
Foo
;
test
(
x
.
qux
(),
x
.
qux
());
//~^ ERROR function takes 1 argument but 2 arguments were supplied
}
fn
main
()
{}