mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
6f8c27ae89
`hir`: Add `Become` expression kind (explicit tail calls experiment) This adds `hir::ExprKind::Become` alongside ast lowering. During hir-thir lowering we currently lower `become` as `return`, so that we can partially test `become` without ICEing. cc `@scottmcm` r? `@Nilstrieb`