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