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
We currently do not allow applying a turbofish to a struct type, attempting to do so will result in a UnsupportedTurbofishUsage error
UnsupportedTurbofishUsage
struct Foo<T> { x: T } impl <T> Foo<T> { fn new(x: T) -> Self { Foo { x } } } fn main() { let _ = Foo::<i32>::new(1); }
We should implement support for the turbofish syntax in this situation.
The text was updated successfully, but these errors were encountered:
I think this is a duplicate of #5584
I added support for parsing the turbofishes in the middle of paths but implementing this particular case is kind of tricky.
Sorry, something went wrong.
asterite
Successfully merging a pull request may close this issue.
We currently do not allow applying a turbofish to a struct type, attempting to do so will result in a
UnsupportedTurbofishUsage
errorWe should implement support for the turbofish syntax in this situation.
The text was updated successfully, but these errors were encountered: