]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #55801 - pnkfelix:update-box-insensitivity-test-for-nll, r=davidtwco
authorPietro Albini <pietro@pietroalbini.org>
Sat, 10 Nov 2018 23:21:17 +0000 (00:21 +0100)
committerGitHub <noreply@github.com>
Sat, 10 Nov 2018 23:21:17 +0000 (00:21 +0100)
commit18195d413333d8d9ab5d1ed6a5af2993c0c8e5d8
tree68a742f63a9a8d96bb7fff3c9b78f47dcae67e7f
parentff8ee964aeca7942d6bdc67545ef7e2a987da8c4
parent9b6a568c6f32af27bc050b7df0dabe4c5c9aefee
Rollup merge of #55801 - pnkfelix:update-box-insensitivity-test-for-nll, r=davidtwco

NLL: Update box insensitivity test

This is just keeping one of our tests honest with respect to NLL, in two ways:

 1. Adds uses of borrows that would otherwise be too short to observe the error that we would have expected to see...
 2. ... I say "would have expected" because all of the errors in this file are part of the reversion of rust-lang/rfcs#130 that is attached to NLL (you can see more discussion of this here https://github.com/rust-lang/rust/issues/43234#issuecomment-411017768 )