Skip to content

Commit db6f7a9

Browse files
committed
Update help message
1 parent cfdd6ba commit db6f7a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/librustc/infer/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl SuppressRegionErrors {
9797
// If we're on Migrate mode, report AST region errors
9898
BorrowckMode::Migrate => SuppressRegionErrors { suppressed: false },
9999

100-
// If we're on MIR don't report AST region errors as they should be reported by NLL
100+
// If we're on MIR, don't report AST region errors as they should be reported by NLL
101101
BorrowckMode::Mir => SuppressRegionErrors { suppressed: true },
102102
}
103103
}

Diff for: src/librustc/session/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
12111211
identify_regions: bool = (false, parse_bool, [UNTRACKED],
12121212
"make unnamed regions display as '# (where # is some non-ident unique id)"),
12131213
borrowck: Option<String> = (None, parse_opt_string, [UNTRACKED],
1214-
"select which borrowck is used (`ast`, `mir`, `migrate`, or `compare`)"),
1214+
"select which borrowck is used (`mir` or `migrate`)"),
12151215
time_passes: bool = (false, parse_bool, [UNTRACKED],
12161216
"measure time of each rustc pass"),
12171217
time: bool = (false, parse_bool, [UNTRACKED],

0 commit comments

Comments
 (0)