-
Notifications
You must be signed in to change notification settings - Fork 550
Fixes #141 #142
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
Fixes #141 #142
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Actually, could you also add a bit on the run-rustfix header command and .fixed files? |
I have never used that personally and I'm not sure if it already works correctly (for some definition of correctly) cc @killercup |
Ping @oli-obk |
@@ -148,6 +148,9 @@ exhaustive. Header commands can generally be found by browsing the | |||
`TestProps` structure found in [`header.rs`] from the compiletest | |||
source. | |||
|
|||
* `run-rustfix` for UI tests, indicates that the test produces | |||
structured suggestions, which are then applied and the final |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it get compiled again? I think the output of rustfix is just compared against the .fixed file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, then @oli-obk, could you just add that the expected fixed code should be in .fixed? Then r=me
cc @nikomatsakis