Skip to content
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

Updated E0394 & E0422 to new format #35722

Merged
merged 2 commits into from
Aug 17, 2016
Merged

Conversation

knight42
Copy link
Contributor

Fixes #35692 and #35700, as part of #35233.

r? @jonathandturner

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jonathandturner (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@sophiajt
Copy link
Contributor

Thanks for the PR!

Looking good so far. The next step is to update the unit tests. There's a quirk in the unit tester in that it will only tests a label if you add at least one NOTE to the unit test. I talk about it in the blog post in the Extra Credit section.

With the unit tests, we should be good to go.

@knight42
Copy link
Contributor Author

@jonathandturner
but I ran python src/bootstrap/bootstrap.py --step check-cfail --stage 1 locally and passed all the tests...

@sophiajt
Copy link
Contributor

@knight42 - I know, it's confusing :-/ You'll need to update the test for the labels to be checked.

@knight42
Copy link
Contributor Author

knight42 commented Aug 16, 2016

I have tried to grep -R E0422 src/test and grep -R E0394 src/test, but got nothing except compile-fail/E0422.rs and compile-fail/E0394.rs. Should I add extra tests?

@sophiajt
Copy link
Contributor

You can just update those two tests. As long as there are tests that test the label, we're good.

@knight42
Copy link
Contributor Author

@jonathandturner Thanks for your patience. I updated my last commit. Does this look good now?

@sophiajt
Copy link
Contributor

That's exactly the right direction. Once you do the same for E0422, I think we're ready.

@knight42
Copy link
Contributor Author

should be fixed this time...

@sophiajt
Copy link
Contributor

Looks good!

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Aug 16, 2016

📌 Commit 3caa451 has been approved by jonathandturner

sophiajt pushed a commit to sophiajt/rust that referenced this pull request Aug 17, 2016
bors added a commit that referenced this pull request Aug 17, 2016
sophiajt pushed a commit to sophiajt/rust that referenced this pull request Aug 17, 2016
bors added a commit that referenced this pull request Aug 17, 2016
@bors bors merged commit 3caa451 into rust-lang:master Aug 17, 2016
@knight42 knight42 deleted the update-error-msg branch August 18, 2016 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants