From db6f7a9d1a8b9aeae93e0512f0f236fda36b0314 Mon Sep 17 00:00:00 2001 From: Christopher Vittal Date: Fri, 3 May 2019 17:34:17 -0400 Subject: [PATCH] Update help message --- src/librustc/infer/mod.rs | 2 +- src/librustc/session/config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/infer/mod.rs b/src/librustc/infer/mod.rs index fc209df8516..aac89f46638 100644 --- a/src/librustc/infer/mod.rs +++ b/src/librustc/infer/mod.rs @@ -97,7 +97,7 @@ impl SuppressRegionErrors { // 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 }, } } diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs index 4577c06fc68..ad80e5d74bd 100644 --- a/src/librustc/session/config.rs +++ b/src/librustc/session/config.rs @@ -1211,7 +1211,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, identify_regions: bool = (false, parse_bool, [UNTRACKED], "make unnamed regions display as '# (where # is some non-ident unique id)"), borrowck: Option = (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],