diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2018-05-26 11:22:54 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-26 11:22:54 -0600 |
| commit | b1de3519c9f947f5cbc525719b9365f2fd58f7f9 (patch) | |
| tree | 5595b703caec066036e060f3863fe682c335c68d /src/rustllvm/RustWrapper.cpp | |
| parent | 90b7bf6e0a7c9ecd32bc7fd96a76e5e800f3e6ea (diff) | |
| parent | d8bd5336c90764ca90e0e6f0df5bb309167e872c (diff) | |
| download | rust-b1de3519c9f947f5cbc525719b9365f2fd58f7f9.tar.gz rust-b1de3519c9f947f5cbc525719b9365f2fd58f7f9.zip | |
Rollup merge of #51057 - pnkfelix:issue-51025-make-ui-tests-robust-wrt-nll, r=nikomatsakis
make ui tests robust with respect to NLL This PR revises the `ui` tests that I could quickly identify that: 1. previously had successful compilations under non-lexical lifetimes (NLL) because they assumed lexical lifetimes, but 2. such assumption of lexical lifetimes was actually not necessarily part of the spirit of the original issue/bug we want to witness. In many cases, this is simply a matter of adding a use of a borrow so that it gets extended long enough to observe a conflict. (In some cases the revision was more subtle, such as adding a destructor, or revising the order of declaration of some variables.) ---- With these test revisions in place, I subsequently updated the expected stderr output under the NLL compiletest mode. So now we should get even more testing of NLL than we were before. Fix #51025
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
