@@ -1194,8 +1194,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
1194
1194
"prints the llvm optimization passes being run" ) ,
1195
1195
ast_json: bool = ( false , parse_bool, [ UNTRACKED ] ,
1196
1196
"print the AST as JSON and halt" ) ,
1197
- query_threads : Option <usize > = ( None , parse_opt_uint, [ UNTRACKED ] ,
1198
- "execute queries on a thread pool with N threads" ) ,
1197
+ threads : Option <usize > = ( None , parse_opt_uint, [ UNTRACKED ] ,
1198
+ "use a thread pool with N threads" ) ,
1199
1199
ast_json_noexpand: bool = ( false , parse_bool, [ UNTRACKED ] ,
1200
1200
"print the pre-expansion AST as JSON and halt" ) ,
1201
1201
ls: bool = ( false , parse_bool, [ UNTRACKED ] ,
@@ -1986,17 +1986,17 @@ pub fn build_session_options_and_crate_config(
1986
1986
}
1987
1987
}
1988
1988
1989
- if debugging_opts. query_threads == Some ( 0 ) {
1989
+ if debugging_opts. threads == Some ( 0 ) {
1990
1990
early_error (
1991
1991
error_format,
1992
- "Value for query threads must be a positive nonzero integer" ,
1992
+ "Value for threads must be a positive nonzero integer" ,
1993
1993
) ;
1994
1994
}
1995
1995
1996
- if debugging_opts. query_threads . unwrap_or ( 1 ) > 1 && debugging_opts. fuel . is_some ( ) {
1996
+ if debugging_opts. threads . unwrap_or ( 1 ) > 1 && debugging_opts. fuel . is_some ( ) {
1997
1997
early_error (
1998
1998
error_format,
1999
- "Optimization fuel is incompatible with multiple query threads" ,
1999
+ "Optimization fuel is incompatible with multiple threads" ,
2000
2000
) ;
2001
2001
}
2002
2002
0 commit comments