Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
issues
/
issue-22468.rs
blob: 197a19c038c4bd502fe0d52a6bb21f28512967e3 [
file
] [
log
] [
blame
]
fn
main
()
{
let
foo
=
"bar"
;
let
x
=
foo
(
"baz"
);
//~^ ERROR: expected function, found `&str`
}
fn
foo
(
file
:
&
str
)
->
bool
{
true
}