about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-11-05 16:19:51 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-11-05 16:19:51 +0100
commitcf715827187791a82dd8401ca210d1e881b8e3e5 (patch)
tree26df9580c4805a2bfd7b1c500766996a0d87499b /src/rustllvm/RustWrapper.cpp
parentc25319fcfc5046b91b773c87edbfdb087e875343 (diff)
downloadrust-cf715827187791a82dd8401ca210d1e881b8e3e5.tar.gz
rust-cf715827187791a82dd8401ca210d1e881b8e3e5.zip
Use `// revisions` in the dropck-eyepatch tests instead of relying on compare-mode=nll.
NLL has increased precision in its analysis of drop order, and we want
the test annotations to deliberately reflect this by having fewer
ERROR annotations for NLL than for AST-borrowck. The best way to get
this effect is via `// revisions`.

As a drive-by, also added uses of all the borrows just to make it
clear that NLL isn't somehow sidestepping things by using shorter
borrows than you might have otherwise expected. (Of course, the added
uses do not make all that much difference since the relevant types all
declare `impl Drop` and thus those drops have implicit uses anyway.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions