]> git.lizzy.rs Git - rust.git/commit
Updates to tests reflecting the diangostic changes in previous commit.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Mon, 17 Sep 2018 23:52:31 +0000 (01:52 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 18 Sep 2018 00:06:45 +0000 (02:06 +0200)
commit673cd6efbe176e85c1198d9640f457aef2a53071
tree27035fa51685f34b3cb9b931f605855c10b7e255
parent1f0fbddfff60f7f5d35b9008ab3f0ffb8133bb52
Updates to tests reflecting the diangostic changes in previous commit.

It is worth pointing out that the reason that so few diagnostics are
effected is because of the filter I put in where it only goes down the
new path if the borrowed place is *not* a prefix of the dropped place.

(Without that filter, a *lot* of the tests would need this change, and
it would probably be a net loss for the UX, since you'd see it even in
cases like borrows of generic types where there is no explicit mention
of `Drop`.)
src/test/ui/borrowck/borrowck-fn-in-const-c.nll.stderr
src/test/ui/issues/issue-45696-scribble-on-boxed-borrow.migrate.stderr
src/test/ui/issues/issue-45696-scribble-on-boxed-borrow.nll.stderr
src/test/ui/issues/issue-45696-scribble-on-boxed-borrow.rs
src/test/ui/nll/issue-31567.rs
src/test/ui/nll/issue-31567.stderr
src/test/ui/span/borrowck-ref-into-rvalue.nll.stderr
src/test/ui/span/issue28498-reject-ex1.nll.stderr