]> git.lizzy.rs Git - rust.git/commit
Test for `-Z borrowck=migrate`.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 24 Jul 2018 11:58:19 +0000 (13:58 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 26 Jul 2018 11:17:55 +0000 (13:17 +0200)
commitf8084053280d4557c603f3cfeb6b0f12cffb46e3
tree463d1776116a06d9b9526a67727d937486563c55
parent91dc3e5b56ec36dcebbb982c4cfebb9541d14684
Test for `-Z borrowck=migrate`.

Note that this test is carefully crafted to *try* to not segfault
during its run.  Howver, it really is representing unsound code that
should be rejected after we manage to remove the AST-borrowck entirely
from the compiler.
src/test/ui/borrowck/borrowck-migrate-to-nll.rs [new file with mode: 0644]
src/test/ui/borrowck/borrowck-migrate-to-nll.stderr [new file with mode: 0644]