-
Notifications
You must be signed in to change notification settings - Fork 901
New issue
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
Add a support for immovable generators #2397
Comments
BTW it feels great that rustfmt was not affected by the breaking change in libsyntax 🙌 |
I wanna take this, but is it suitable for me with basic Rust learned from The Rust Programming Language(2nd) and Rust By Example ? |
@csmoe probably! Have a pole around the code base, and see if the steps in the OP make sense, the first two are testing, and Cargo only. The third requires writing some code. Let us know how you get on - if it feels too overwhelming, have a play with the code in general - try refactoring some small things to get an idea how the code works and if this bug is fixed, ping us and we'll find you another! |
@nrc thank you,I’ll try my best on this. |
I have updated
to replace the function provided by
It can be fixed with some modifications, is it ok to enclose these modifications into commits for this issue(I'm uncertain because this bug is introduced by |
@csmoe It is perfectly ok to do so. If you have any trouble, please feel free to use this branch. |
For example, when I try to format the following code,
rustfmt 0.3.6-nightly emits the following error:
The procedure to fix this would be something like this:
rustc-ap-syntax
andrustc-ap-rustc_errors
to the latest versioncc rust-lang/rust#45337
The text was updated successfully, but these errors were encountered: