Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
explicit-tail-calls
/
ctfe-arg-move.rs
blob: 88ff3a4a5ad13766d1e61cb818cbc41ad9890cc1 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
allow
(
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
()
{}