-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
NLL: must review all .nll.stderr files #49862
Comments
(I'm going to throw the list into a gist for the short term. I'm trying to figure out what the best format for a quest issue is; I might use #35233 as a model, but its possible that now that we're using Paper for so many tasks that maybe that is a better place to host a mutable table to hold that state.) |
And of course we still need better instructions on what to actually do with each test before this will be a proper quest issue. (In any case people shouldn't attempt to take tasks from the list of tests until #49861 has landed, since the whole point is to do this work relative to some checkpoint.) |
(whatever the instructions are, they probably should involve actually running the compiler in NLL mode on the given source file. I am learning that its not a good idea to attempt to blindly interpret the output that you see in the stderr file(s). At least, I thought an empty |
Okay I've actually done the review. See this paper document for now: (I don't actually want that document to be too long-lived. I'm hoping we either address most of the items on the list quickly; if we fail to do that, then the table in that document should be transcribed elsewhere, perhaps to this issue.) |
Thanks to @pnkfelix's heroic efforts, this is done. |
#49861 checkpoints the state of NLL blindly. I made almost no attempt to check whether the content of each
.nll.stderr
file makes sense.(I did sanity check a couple to just make sure that
--compile-mode=nll
seems like it is working, but even then I wouldn't call that skimming any sort of formal review.)So, here's the issue: each instance of
foo.nll.stderr
represents a difference in the output from the AST-borrowck versus NLL borrowck.Here are some reasons we might see different output:
foo.nll.stderr
or a#[rustc_error]
diagnostic output (see compiletest: compare-mode cannot handle mixed success + failure #49855 for an explanation of that).run-pass
test.In this issue, I am going to make a list of all of the
.nll.stderr
files added in #49861. The idea is that people can then volunteer to review that stderr output under NLL mode, comparing it to thestderr
output under AST borrowck, and figure out which case above the test falls into.The text was updated successfully, but these errors were encountered: