Sign in
rust
/
rust
/
656d4e8a962ca51f7a76167fc762fabfaec0cbbd
/
.
/
tests
/
ui
/
explicit-tail-calls
/
return-lifetime-sub.rs
blob: df0982cc02bdc2c92fbb4598da9a56ebd1bf0a0b [
file
]
//@ check-pass
#![
expect
(
incomplete_features
)]
#![
feature
(
explicit_tail_calls
)]
fn
_f
<
'a>() -> &'
a
[
u8
]
{
become _g
();
}
fn
_g
()
->
&
'
static
[
u8
]
{
&[
0
,
1
,
2
,
3
]
}
fn
main
()
{}