Some work

This commit is contained in:
Aaron Hill 2020-10-18 15:28:23 -04:00
parent 23018a55d9
commit 6bdb4e3206
No known key found for this signature in database
GPG key ID: B4087E510E98B164
7 changed files with 42 additions and 19 deletions

View file

@ -893,8 +893,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
all `statement`s (including terminators), only `terminator` spans, or \
computed `block` spans (one span encompassing a block's terminator and \
all statements)."),
emit_future_compat_report: bool = (false, parse_bool, [UNTRACKED],
"emits a future-compatibility report for lints (RFC 2834)"),
emit_future_incompat_report: bool = (false, parse_bool, [UNTRACKED],
"emits a future-incompatibility report for lints (RFC 2834)"),
emit_stack_sizes: bool = (false, parse_bool, [UNTRACKED],
"emit a section containing stack size metadata (default: no)"),
fewer_names: bool = (false, parse_bool, [TRACKED],

View file

@ -308,7 +308,7 @@ impl Session {
}
fn emit_future_breakage(&self) {
if !self.opts.debugging_opts.emit_future_compat_report {
if !self.opts.debugging_opts.emit_future_incompat_report {
return;
}