]> git.lizzy.rs Git - rust.git/commit
Removed `ignore-test-compare-mode-nll` from borrowck-closures-unique.rs
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 15 Aug 2018 21:26:59 +0000 (23:26 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 15 Aug 2018 21:47:28 +0000 (23:47 +0200)
commitdd9f84f2d3c01d87b8e4d6f96a9c4b46d8e22992
tree4808e0159fbd4632efb40211054dc83db2f4648a
parenta5733050de780ae4d11e3a7af615df792fdf908e
Removed `ignore-test-compare-mode-nll` from borrowck-closures-unique.rs
by strengthening the tests there.

In almost all cases the strengthening amount to just encoding a use
that models the original lexical lifetime. A more invasive revision
was made in one case where it seems the actual issue is MIR-borrowck's
greater "knowledge" of unreachable code in the control flow...
src/test/ui/borrowck/borrowck-closures-unique.nll.stderr [new file with mode: 0644]
src/test/ui/borrowck/borrowck-closures-unique.rs
src/test/ui/borrowck/borrowck-closures-unique.stderr