diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-05-07 15:54:41 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-05-29 23:01:36 +0200 |
| commit | 47bb3fd50559c31030c5f89400864f368694c02f (patch) | |
| tree | 0784f4343fdaf7a2f1b85b1eeda7ad14da77d24a /src/test/incremental/thinlto | |
| parent | 524ad9b9e03656f3fdeb03ed82fe78db3916e566 (diff) | |
| download | rust-47bb3fd50559c31030c5f89400864f368694c02f.tar.gz rust-47bb3fd50559c31030c5f89400864f368694c02f.zip | |
Debug flag to bypass restriction of mutation in match guards.
Now, if you pass `-Z disable-ast-check-for-mutation-in-guard`, then we will just allow you to mutably-borrow and assign in guards of `match` arms. This is wildly unsound with AST-borrowck. It is also unsound with MIR-borrowck without further adjustments, which come in later in the commit series on this Pull Request. See also rust-lang/rust#24535 and rust-lang/rfcs#1006.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
