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
Generics of associated types are removed by rustfmt. The future is not stable but I think the syntax is already (?).
Before:
trait Foo<'a> { type Bar<'a>; }
After:
trait Foo<'a> { type Bar; }
https://play.rust-lang.org/?gist=e0614ea726bfdc99ea733ab96e724e0a&version=nightly&mode=debug&edition=2015
The text was updated successfully, but these errors were encountered:
This seems to be a bug in rustc, the ast node does not contain the lifetime bounds.
Sorry, something went wrong.
Hmm, never mind: we were just ignoring it.
Add a test for rust-lang#3006
8021b29
No branches or pull requests
Generics of associated types are removed by rustfmt.
The future is not stable but I think the syntax is already (?).
Before:
After:
https://play.rust-lang.org/?gist=e0614ea726bfdc99ea733ab96e724e0a&version=nightly&mode=debug&edition=2015
The text was updated successfully, but these errors were encountered: