-
Notifications
You must be signed in to change notification settings - Fork 13.3k
various ui tests need to be made robust w.r.t NLL migration #55533
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
There's ancient beasts like this: the issue is that this test was written to deliberately test the lexical-ness of lifetimes. It isn't in the spirit of the test to add uses e.g. after loop. (At least, I don't think it is...) It may be better in cases like this to use the |
Here is the list of tests that I derived from https://github.com/rust-lang/rust/projects/10#column-3663841 :
|
…s-wrt-nll, r=davidtwco Update ui tests with respect to NLL Fix rust-lang#55533
While working on #54528 (see https://github.com/rust-lang/rust/projects/10) I found a number of tests that assume borrows to be lexically scoped.
These tests should be revised to not rely on that assumption.
(see also #52663 (comment) and https://github.com/rust-lang/rust/projects/10#column-3663841)
The text was updated successfully, but these errors were encountered: