Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
explicit-tail-calls
/
ctfe-arg-move.rs
blob: 610eb74a91e37ab4d14f2e18c7c5955535e4a2a4 [
file
] [
log
] [
blame
]
//@ check-pass
#![
expect
(
incomplete_features
)]
#![
feature
(
explicit_tail_calls
)]
pub
const
fn
test
(
s
:
String
)
->
String
{
const
fn
takes_string
(
s
:
String
)
->
String
{
s
}
become takes_string
(
s
);
}
struct
Type
;
fn
main
()
{}