]> git.lizzy.rs Git - rust.git/commitdiff
Update help message
authorChristopher Vittal <christopher.vittal@gmail.com>
Fri, 3 May 2019 21:34:17 +0000 (17:34 -0400)
committerChristopher Vittal <christopher.vittal@gmail.com>
Fri, 3 May 2019 21:34:17 +0000 (17:34 -0400)
src/librustc/infer/mod.rs
src/librustc/session/config.rs

index fc209df8516ca72c1a17b1d6420390a887bb25d3..aac89f466389ae073a280ae1c86e2b7e333859dc 100644 (file)
@@ -97,7 +97,7 @@ pub fn when_nll_is_enabled(tcx: TyCtxt<'_, '_, '_>) -> Self {
             // If we're on Migrate mode, report AST region errors
             BorrowckMode::Migrate => SuppressRegionErrors { suppressed: false },
 
-            // If we're on MIR don't report AST region errors as they should be reported by NLL
+            // If we're on MIR, don't report AST region errors as they should be reported by NLL
             BorrowckMode::Mir => SuppressRegionErrors { suppressed: true },
         }
     }
index 4577c06fc68d689ff87a780e787ac9e7aa483429..ad80e5d74bd2a4b02523f1ab414376e7208f1438 100644 (file)
@@ -1211,7 +1211,7 @@ fn parse_merge_functions(slot: &mut Option<MergeFunctions>, v: Option<&str>) ->
     identify_regions: bool = (false, parse_bool, [UNTRACKED],
         "make unnamed regions display as '# (where # is some non-ident unique id)"),
     borrowck: Option<String> = (None, parse_opt_string, [UNTRACKED],
-        "select which borrowck is used (`ast`, `mir`, `migrate`, or `compare`)"),
+        "select which borrowck is used (`mir` or `migrate`)"),
     time_passes: bool = (false, parse_bool, [UNTRACKED],
         "measure time of each rustc pass"),
     time: bool = (false, parse_bool, [UNTRACKED],