]> git.lizzy.rs Git - rust.git/commit
Expand long-live-borrows-in-boxes test to include simplier illustrative cases.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Mon, 30 Jul 2018 14:17:04 +0000 (16:17 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 1 Aug 2018 15:44:53 +0000 (17:44 +0200)
commita1b8a93f81f4da89eaaa75f27df395f46c17c470
tree4bf0ff60f4778fad08bdb9d3867b9b51f3178c12
parent469d6a819d3d7348fdd54d8c7ec1e694f2f43051
Expand long-live-borrows-in-boxes test to include simplier illustrative cases.

After talking about the PR with eddyb, I decided it was best to try to
have some test cases that simplify the problem down to its core, so
that people trying to understand what the issue is here will see those
core examples first.
src/test/ui/issue-45696-long-live-borrows-in-boxes.rs