Sign in
fuchsia
/
third_party
/
rust
/
e356279bdfe6840236877b298f0c577e0f9221ff
/
.
/
tests
/
ui
/
argument-suggestions
/
issue-97484.rs
blob: 9e537b0c35f96bceb3cd3a86f3e41431d5a5b594 [
file
] [
log
] [
blame
]
struct
A
;
struct
B
;
struct
C
;
struct
D
;
struct
E
;
struct
F
;
struct
G
;
fn
foo
(
a
:
&
A
,
d
:
D
,
e
:
&
E
,
g
:
G
)
{}
fn
main
()
{
foo
(&&
A
,
B
,
C
,
D
,
E
,
F
,
G
);
//~^ ERROR function takes 4 arguments but 7 arguments were supplied
}