rustc/tests/ui/feature-gates/feature-gate-explicit_tail_calls.rs
2024-05-23 21:15:29 +02:00

10 lines
201 B
Rust

pub fn you<T>() -> T {
become bottom(); //~ error: `become` expression is experimental
}
pub fn bottom<T>() -> T {
become you(); //~ error: `become` expression is experimental
}
fn main() {}