Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-3099.rs
blob: ee75b359388f3f9316b66f92e824120bbe53d7df [
file
] [
log
] [
blame
]
fn
a
(
x
:
String
)
->
String
{
format
!(
"First function with {}"
,
x
)
}
fn
a
(
x
:
String
,
y
:
String
)
->
String
{
//~ ERROR the name `a` is defined multiple times
format
!(
"Second function with {} and {}"
,
x
,
y
)
}
fn
main
()
{
println
!(
"Result: "
);
}