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
Invalid expressions on the RHS were just swallowed without generating
an error. The new code more closely mirrors the code for parsing
`..x` in the `parse_prefix_range_expr` method, where no cancel is done
either.
Fixesrust-lang#33262.
parser: fix suppression of syntax errors in range RHS
Invalid expressions on the RHS were just swallowed without generating an error. The new version more closely mirrors the code for parsing `..x` in the `parse_prefix_range_expr` method below, where no cancel is done either.
Fixes#33262.
After some refactoring of quite a large code base I accidentally ended up with code similar to this:
Which fails with an error at compile time, but no error message nor line indication whatsoever.
Steps to reproduce: https://play.rust-lang.org/?gist=292a681d9c575bf728805b0c24e4e25a&version=stable&backtrace=0
The text was updated successfully, but these errors were encountered: