We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
impl
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
The following code results in "warning: type alias is never used: Bar":
Bar
struct Foo; type Bar = Foo; struct MyStruct(Bar); impl Bar { fn buzz() {} } fn main() { MyStruct(Foo); Foo::buzz(); }
The text was updated successfully, but these errors were encountered:
Dupe of #43123
Sorry, something went wrong.
I'll add the extra case (struct definitions) to #43123 and close this.
No branches or pull requests
The following code results in "warning: type alias is never used:
Bar
":The text was updated successfully, but these errors were encountered: