-
Notifications
You must be signed in to change notification settings - Fork 60
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
WIP Update from upstream #201
Conversation
b6a3936
to
4122778
Compare
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.
This looks nice!
// rustdoc will test the output of the `--test` option | ||
pub check_test_line_numbers_match: bool, | ||
// The test must be compiled and run successfully. Only used in UI tests for | ||
// now. | ||
pub run_pass: bool, |
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.
The removal of the two headers has potential to silently change the result of tests. Do you think it makes sense to deprecate them before removing them?
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.
That's a good point. I wonder why they were removed in the original compiletest.
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.
IIRC, they were just renamed, not removed. I'm not sure right now which are the correct replacements for each.
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.
fwiw, I think it would also be fine to add a changelog that explains the changes =)
4122778
to
6780f4a
Compare
6780f4a
to
d1fe0f1
Compare
The goal here is more than to update from upstream, I also want to explore the possibility of using this library as a replacement for the compiletest binary in Rust. It would be nice if there was only one codebase, and it could be used both for testing Rust itself, and for testing external Rust libraries.
Inspired by #165 (comment)