]> git.lizzy.rs Git - rust.git/commitdiff
Add `migrate` to list of values for `-Z borrowck=...`
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 24 Jul 2018 11:56:40 +0000 (13:56 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 26 Jul 2018 11:17:55 +0000 (13:17 +0200)
src/librustc/session/config.rs

index 1dadf07808f83e9b09af5ce90517ff9889901dfb..441b13b8c44606ca018a7fccb40e5ef678d7babb 100644 (file)
@@ -1141,7 +1141,7 @@ fn parse_cross_lang_lto(slot: &mut CrossLangLto, v: Option<&str>) -> bool {
     emit_end_regions: bool = (false, parse_bool, [UNTRACKED],
         "emit EndRegion as part of MIR; enable transforms that solely process EndRegion"),
     borrowck: Option<String> = (None, parse_opt_string, [UNTRACKED],
-        "select which borrowck is used (`ast`, `mir`, or `compare`)"),
+        "select which borrowck is used (`ast`, `mir`, `migrate`, or `compare`)"),
     two_phase_borrows: bool = (false, parse_bool, [UNTRACKED],
         "use two-phase reserved/active distinction for `&mut` borrows in MIR borrowck"),
     two_phase_beyond_autoref: bool = (false, parse_bool, [UNTRACKED],