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
This should compile:
trait Foo<T> { fn foo(x: T) -> Self; } struct Bar {} impl Foo<i32> for Bar { fn foo(x: i32) -> Self { Bar {} } } fn main() { let bar: Bar = Foo::<i32>::foo(42); }
The above code compiles.
None
No response
The text was updated successfully, but these errors were encountered:
asterite
Successfully merging a pull request may close this issue.
Problem
This should compile:
Happy Case
The above code compiles.
Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
None
Blocker Context
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: