We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
return
With feature(if_let_guard), the following is valid Rust syntax.
feature(if_let_guard)
fn ret_guard() { match 2 { x if let true = return => { x; } _ => {} } }
Syn currently fails to parse it:
error: expected an expression --> dev/main.rs:3:30 | 3 | x if let true = return => { x; } | ^
Tracking issue: rust-lang/rust#51114
The text was updated successfully, but these errors were encountered:
break
yield
Successfully merging a pull request may close this issue.
With
feature(if_let_guard)
, the following is valid Rust syntax.Syn currently fails to parse it:
Tracking issue: rust-lang/rust#51114
The text was updated successfully, but these errors were encountered: