@@ -848,9 +848,13 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
848
848
ls: bool = ( false , parse_bool, [ UNTRACKED ] ,
849
849
"list the symbols defined by a library crate" ) ,
850
850
save_analysis: bool = ( false , parse_bool, [ UNTRACKED ] ,
851
- "write syntax and type analysis (in JSON format) information in addition to normal output" ) ,
851
+ "write syntax and type analysis (in JSON format) information, \
852
+ addition to normal output") ,
852
853
save_analysis_csv: bool = ( false , parse_bool, [ UNTRACKED ] ,
853
- "write syntax and type analysis (in CSV format) information in addition to normal output" ) ,
854
+ "write syntax and type analysis (in CSV format) information, in addition to normal output" ) ,
855
+ save_analysis_api: bool = ( false , parse_bool, [ UNTRACKED ] ,
856
+ "write syntax and type analysis information for opaque libraries (in JSON format), \
857
+ in addition to normal output") ,
854
858
print_move_fragments: bool = ( false , parse_bool, [ UNTRACKED ] ,
855
859
"print out move-fragment data for every fn" ) ,
856
860
flowgraph_print_loans: bool = ( false , parse_bool, [ UNTRACKED ] ,
@@ -2359,6 +2363,8 @@ mod tests {
2359
2363
assert_eq ! ( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
2360
2364
opts. debugging_opts . save_analysis_csv = true ;
2361
2365
assert_eq ! ( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
2366
+ opts. debugging_opts . save_analysis_api = true ;
2367
+ assert_eq ! ( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
2362
2368
opts. debugging_opts . print_move_fragments = true ;
2363
2369
assert_eq ! ( reference. dep_tracking_hash( ) , opts. dep_tracking_hash( ) ) ;
2364
2370
opts. debugging_opts . flowgraph_print_loans = true ;
0 commit comments