You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Semicolon or comma in expression statements or match arms, respectively, are optional, but part of the statement / match arm.
Also remove a note about proc-macros from the page about BlockExpression.
Closesrust-lang#773 and closesrust-lang#774.
ZuseZ4
pushed a commit
to EnzymeAD/rust
that referenced
this issue
Mar 7, 2023
Checks for functions with method calls to `.map(_)` on an arg of type
`Option` as the outermost expression.
Fixesrust-lang#774
```
changelog: [`single_option_map`]: Checks for functions with method calls to `.map(_)` on an arg of type `Option` as the outermost expression.
```
rt: 0790:main:main: upcall fail 'non-exhaustive match failure', ../src/comp/middle/trans.rs:5523
rt: 0790:main: domain main @0x2008c0c root task failed
Should have been rejected prior to trans, I think.
The text was updated successfully, but these errors were encountered: