]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #55696 - davidtwco:issue-55675, r=pnkfelix
authorkennytm <kennytm@gmail.com>
Tue, 6 Nov 2018 07:21:10 +0000 (15:21 +0800)
committerkennytm <kennytm@gmail.com>
Tue, 6 Nov 2018 09:08:29 +0000 (17:08 +0800)
NLL Diagnostic Review 3: Missing errors for borrows of union fields

Fixes #55675.

This PR modifies a test to make it more robust (it also fixes indentation on a doc comment, but that's not the point of the PR). See the linked issue for details.

r? @pnkfelix


Trivial merge