Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-22468.rs
blob: 197a19c038c4bd502fe0d52a6bb21f28512967e3 [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
let
foo
=
"bar"
;
let
x
=
foo
(
"baz"
);
//~^ ERROR: expected function, found `&str`
}
fn
foo
(
file
:
&
str
)
->
bool
{
true
}