@@ -83,9 +83,9 @@ pub struct Options {
83
83
/// Codegen options strings to hand to the compiler.
84
84
pub codegen_options_strs : Vec < String > ,
85
85
/// Debugging (`-Z`) options to pass to the compiler.
86
- pub debugging_options : DebuggingOptions ,
86
+ pub debugging_opts : DebuggingOptions ,
87
87
/// Debugging (`-Z`) options strings to pass to the compiler.
88
- pub debugging_options_strs : Vec < String > ,
88
+ pub debugging_opts_strs : Vec < String > ,
89
89
/// The target used to compile the crate against.
90
90
pub target : TargetTriple ,
91
91
/// Edition used when reading the crate. Defaults to "2015". Also used by default when
@@ -318,9 +318,9 @@ impl Options {
318
318
let error_format = config:: parse_error_format ( & matches, color, json_rendered) ;
319
319
320
320
let codegen_options = build_codegen_options ( matches, error_format) ;
321
- let debugging_options = build_debugging_options ( matches, error_format) ;
321
+ let debugging_opts = build_debugging_options ( matches, error_format) ;
322
322
323
- let diag = new_handler ( error_format, None , & debugging_options ) ;
323
+ let diag = new_handler ( error_format, None , & debugging_opts ) ;
324
324
325
325
// check for deprecated options
326
326
check_deprecated_options ( & matches, & diag) ;
@@ -365,7 +365,7 @@ impl Options {
365
365
. iter ( )
366
366
. map ( |s| SearchPath :: from_cli_opt ( s, error_format) )
367
367
. collect ( ) ;
368
- let externs = parse_externs ( & matches, & debugging_options , error_format) ;
368
+ let externs = parse_externs ( & matches, & debugging_opts , error_format) ;
369
369
let extern_html_root_urls = match parse_extern_html_roots ( & matches) {
370
370
Ok ( ex) => ex,
371
371
Err ( err) => {
@@ -546,7 +546,7 @@ impl Options {
546
546
let persist_doctests = matches. opt_str ( "persist-doctests" ) . map ( PathBuf :: from) ;
547
547
let test_builder = matches. opt_str ( "test-builder" ) . map ( PathBuf :: from) ;
548
548
let codegen_options_strs = matches. opt_strs ( "C" ) ;
549
- let debugging_options_strs = matches. opt_strs ( "Z" ) ;
549
+ let debugging_opts_strs = matches. opt_strs ( "Z" ) ;
550
550
let lib_strs = matches. opt_strs ( "L" ) ;
551
551
let extern_strs = matches. opt_strs ( "extern" ) ;
552
552
let runtool = matches. opt_str ( "runtool" ) ;
@@ -569,8 +569,8 @@ impl Options {
569
569
cfgs,
570
570
codegen_options,
571
571
codegen_options_strs,
572
- debugging_options ,
573
- debugging_options_strs ,
572
+ debugging_opts ,
573
+ debugging_opts_strs ,
574
574
target,
575
575
edition,
576
576
maybe_sysroot,
0 commit comments