Sign in
android
/
toolchain
/
rustc
/
f7ad1c480b8dc4097ef67cd82ec1c5b706e10950
/
.
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-yeet_expr.rs
blob: 978a84cf6e5f04774951110f926ba9da4b9ad3cf [
file
] [
log
] [
blame
]
// compile-flags: --edition 2018
pub
fn
demo
()
->
Option
<
i32
>
{
do
yeet
//~ ERROR `do yeet` expression is experimental
}
pub
fn
main
()
->
Result
<(),
String
>
{
do
yeet
"hello"
;
//~ ERROR `do yeet` expression is experimental
}