@@ -1194,8 +1194,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
11941194 "prints the llvm optimization passes being run" ) ,
11951195 ast_json: bool = ( false , parse_bool, [ UNTRACKED ] ,
11961196 "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" ) ,
11991199 ast_json_noexpand: bool = ( false , parse_bool, [ UNTRACKED ] ,
12001200 "print the pre-expansion AST as JSON and halt" ) ,
12011201 ls: bool = ( false , parse_bool, [ UNTRACKED ] ,
@@ -1986,17 +1986,17 @@ pub fn build_session_options_and_crate_config(
19861986 }
19871987 }
19881988
1989- if debugging_opts. query_threads == Some ( 0 ) {
1989+ if debugging_opts. threads == Some ( 0 ) {
19901990 early_error (
19911991 error_format,
1992- "Value for query threads must be a positive nonzero integer" ,
1992+ "Value for threads must be a positive nonzero integer" ,
19931993 ) ;
19941994 }
19951995
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 ( ) {
19971997 early_error (
19981998 error_format,
1999- "Optimization fuel is incompatible with multiple query threads" ,
1999+ "Optimization fuel is incompatible with multiple threads" ,
20002000 ) ;
20012001 }
20022002
0 commit comments