Add ok-wrapping to catch blocks, per RFC
Updates the `catch{}` lowering to wrap the result in `Try::from_ok`.
r? @nikomatsakis
Fixes #41414
Fixes #43818
|
||
|---|---|---|
| .. | ||
| Cargo.toml | ||
| hygiene.rs | ||
| lib.rs | ||
| span_encoding.rs | ||
| symbol.rs | ||
Add ok-wrapping to catch blocks, per RFC
Updates the `catch{}` lowering to wrap the result in `Try::from_ok`.
r? @nikomatsakis
Fixes #41414
Fixes #43818
|
||
|---|---|---|
| .. | ||
| Cargo.toml | ||
| hygiene.rs | ||
| lib.rs | ||
| span_encoding.rs | ||
| symbol.rs | ||