-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Closed
Copy link
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcE-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
Description
This happens when NLL has been fixed up to the point where it reproduces borrowck's output. (example: #51186)
If both are the same, automatically remove the .nll.stderr
in --bless
mode and emit an error without --bless
.
Here's what --bless
does when it detects that the output of files has changed. Something similar can be done as a new check for equality of the .nll.*
and .*
files. It would probably be best to extract the replacing code from the current --bless
impl to a separate function so it can be reused.
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcE-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.