Sign in
fuchsia
/
third_party
/
rust
/
13ef05e2be9862ea7b94d0b42e0b2d044b3c7f6b
/
.
/
tests
/
ui
/
pub
/
pub-ident-fn-with-lifetime.rs
blob: 8cdc152f163aa648c97f761ca453c0716b9a4494 [
file
] [
log
] [
blame
]
//@ run-rustfix
pub
foo
<
'a>(_s: &'
a usize
)
->
bool
{
true
}
//~^ ERROR missing `fn` for function definition
fn
main
()
{
foo
(&
2
);
}