diff options
| author | bors <bors@rust-lang.org> | 2019-04-22 12:09:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-04-22 12:09:59 +0000 |
| commit | c21fbfe7e310b9055ed6b7c46b7d37b831a516e3 (patch) | |
| tree | 9a94551f5aa1221446654a162fdee604263c706e /src/libsyntax/test_snippet.rs | |
| parent | a850a426491e14186af2250549bf41256b5938d2 (diff) | |
| parent | 8eef102270647af94f38274efb9a2fd5ef8a92ec (diff) | |
| download | rust-c21fbfe7e310b9055ed6b7c46b7d37b831a516e3.tar.gz rust-c21fbfe7e310b9055ed6b7c46b7d37b831a516e3.zip | |
Auto merge of #59114 - matthewjasper:enable-migate-2015, r=pnkfelix
Enable NLL migrate mode on the 2015 edition ## What is in this PR? * Remove the `-Zborrowck=ast` flag option from rustc. * The default in the 2015 edition is now `-Zborrowck=migrate`. * The 2018 edition default is unchanged: it's still `-Zborrowck=migrate`. * Enable two-phase borrows (currently toggled via the `-Ztwo-phase-borrows` flag) on all editions. * Remove most dead code that handled these options. * Update tests for the above changes. ## What is *not* in this PR? These are left for future PRs * Use `-Zborrowck=mir` in NLL compare mode tests (#56993) * Remove the `-Zborrowck=compare` option (#59193) * Remove the `-Ztwo-phase-borrows` flag. It's kept, as a flag that does nothing so that perf.rlo has time to stop using it (cc @Mark-Simulacrum) * Remove MIR typeck as its own MIR pass - it's now run by NLL. * Enabling `-Zborrowck=mir` by default (#58781) * Replace `allow_bind_by_move_patterns_with_guards` and `check_for_mutation_in_guard_via_ast_walk` with just using the feature gate. (#59192) Soundness issues that are fixed by NLL will stay open until full NLL is emitting hard errors. However, these diagnostics and completeness issues can now be closed: Closes #18330 Closes #22323 Closes #23591 Closes #26736 Closes #27487 Closes #28092 Closes #28970 Closes #29733 Closes #30104 Closes #38915 Closes #39908 Closes #43407 Closes #47524 Closes #48540 Closes #49073 Closes #52614 Closes #55085 Closes #56093 Closes #56496 Closes #57804 cc #43234 r? @pnkfelix cc @rust-lang/lang cc @rust-lang/wg-compiler-nll
Diffstat (limited to 'src/libsyntax/test_snippet.rs')
0 files changed, 0 insertions, 0 deletions
