rust/tests/ui/feature-gates/feature-gate-explicit_tail_calls.rs

10 lines
201 B
Rust
Raw Normal View History

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() {}