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
These examples all compile:
trait A : { } struct Foo<T: > { t: T } fn foo<T: >() { }
I expected empty bounds lists to be an error.
The text was updated successfully, but these errors were encountered:
I could see this being useful for macros?
Sorry, something went wrong.
cc @petrochenkov
It was decided this is valid syntax, see #37511 and #39158.
No branches or pull requests
These examples all compile:
I expected empty bounds lists to be an error.
The text was updated successfully, but these errors were encountered: