mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-24 03:07:23 +00:00
Implement the alternative `try` block desugaring As discussed in https://github.com/rust-lang/rfcs/pull/3721#issuecomment-3208342727, update the `try` in nightly to match the RFC as a way to experiment. This addresses the following unresolved issue from https://github.com/rust-lang/rust/issues/31436 > Address issues with type inference (`try { expr? }?` currently requires an explicit type annotation somewhere).