rename to verbose-internals
This commit is contained in:
parent
558ac1cfb7
commit
b5d8361909
65 changed files with 91 additions and 80 deletions
|
@ -1989,8 +1989,8 @@ written to standard error output)"),
|
|||
"use legacy .ctors section for initializers rather than .init_array"),
|
||||
validate_mir: bool = (false, parse_bool, [UNTRACKED],
|
||||
"validate MIR after each transformation"),
|
||||
#[rustc_lint_opt_deny_field_access("use `Session::verbose` instead of this field")]
|
||||
verbose: bool = (false, parse_bool, [UNTRACKED],
|
||||
#[rustc_lint_opt_deny_field_access("use `Session::verbose_internals` instead of this field")]
|
||||
verbose_internals: bool = (false, parse_bool, [UNTRACKED],
|
||||
"in general, enable more debug printouts (default: no)"),
|
||||
#[rustc_lint_opt_deny_field_access("use `Session::verify_llvm_ir` instead of this field")]
|
||||
verify_llvm_ir: bool = (false, parse_bool, [TRACKED],
|
||||
|
|
|
@ -974,8 +974,8 @@ impl Session {
|
|||
// JUSTIFICATION: defn of the suggested wrapper fns
|
||||
#[allow(rustc::bad_opt_access)]
|
||||
impl Session {
|
||||
pub fn verbose(&self) -> bool {
|
||||
self.opts.unstable_opts.verbose
|
||||
pub fn verbose_internals(&self) -> bool {
|
||||
self.opts.unstable_opts.verbose_internals
|
||||
}
|
||||
|
||||
pub fn print_llvm_stats(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue