Skip to content
New issue

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

Maybe document emplacement syntax <- #583

Closed
ehuss opened this issue Apr 21, 2019 · 1 comment · Fixed by #1424
Closed

Maybe document emplacement syntax <- #583

ehuss opened this issue Apr 21, 2019 · 1 comment · Fixed by #1424
Labels
A-grammar Area: Syntax and parsing

Comments

@ehuss
Copy link
Contributor

ehuss commented Apr 21, 2019

I think the <- token might need to be included in tokens.md because it is accepted as a token in macros.

Additionally, if x<-1 {} is not valid syntax. It requires a space before -. See rust-lang/rust#51883 That should be specified somewhere.

@ehuss ehuss added the A-grammar Area: Syntax and parsing label Apr 21, 2019
@ehuss
Copy link
Contributor Author

ehuss commented Jul 12, 2019

For context, there was an attempt to remove the token in rust-lang/rust#60803, but that appears to have been backed out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-grammar Area: Syntax and parsing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant