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

Eliminate the disambiguating :: in id::<int> #1429

Closed
brson opened this issue Jan 4, 2012 · 4 comments
Closed

Eliminate the disambiguating :: in id::<int> #1429

brson opened this issue Jan 4, 2012 · 4 comments
Labels
E-hard Call for participation: Hard difficulty. Experience needed to fix: A lot.

Comments

@brson
Copy link
Contributor

brson commented Jan 4, 2012

Remembering when you have to put :: before type parameters is difficult. Nobody likes it.

@graydon
Copy link
Contributor

graydon commented Jan 27, 2012

It's hard to avoid without making the parser much more clever.

@pcwalton
Copy link
Contributor

We could fix it for as though, I think. Just make the parsing for the type after as greedy.

@graydon
Copy link
Contributor

graydon commented Apr 18, 2013

I still vote for closing this WONTFIX; it is annoying but also rare and tolerable, imo. Meanwhile, reassigning milestone.

@pcwalton
Copy link
Contributor

Fixed.

celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Kobzol pushed a commit to Kobzol/rust that referenced this issue Dec 30, 2024
bors pushed a commit to rust-lang-ci/rust that referenced this issue Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-hard Call for participation: Hard difficulty. Experience needed to fix: A lot.
Projects
None yet
Development

No branches or pull requests

3 participants