-
Notifications
You must be signed in to change notification settings - Fork 13k
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
usize()
is parsed as the type usize
#32995
Labels
A-parser
Area: The parsing of Rust source code to an AST
Comments
@ubsan pointed out that the origin is the Trait() syntax (for the no type parameters case). |
This is syntactically correct (think about |
This is equivalent to |
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
May 15, 2017
…s-in-more-types, r=arielb1 Prohibit parenthesized params in more types. Prohibit parenthesized parameters in primitive types, type parameters, `Self`, etc. Fixes rust-lang#32995.
bors
added a commit
that referenced
this issue
May 16, 2017
…ypes, r=arielb1 Prohibit parenthesized params in more types. Prohibit parenthesized parameters in primitive types, type parameters, `Self`, etc. Fixes #32995.
bors
added a commit
that referenced
this issue
May 29, 2017
…ypes, r=arielb1 Prohibit parenthesized params in more types. Prohibit parenthesized parameters in primitive types, type parameters, `Self`, etc. Fixes #32995.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This compiles, but it seems it should not:
The text was updated successfully, but these errors were encountered: