Some work
This commit is contained in:
parent
23018a55d9
commit
6bdb4e3206
7 changed files with 42 additions and 19 deletions
|
@ -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],
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue