rust/tests/ui/feature-gates/feature-gate-explicit_tail_...

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