summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-explicit_tail_calls.rs
blob: 856a7f393289aa08bd5208fd2ea497ae4874be33 (plain)
1
2
3
4
5
6
7
8
9
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() {}