change flag name

This commit is contained in:
Boxy 2023-07-04 09:17:41 +01:00
parent 2ad00f471a
commit adefeb80c3
2 changed files with 2 additions and 2 deletions

View File

@ -1481,7 +1481,7 @@ pub(crate) fn parse_solver_proof_tree_condition(
dump_solver_proof_tree: SolverProofTreeCondition = (SolverProofTreeCondition::OnRequest, parse_solver_proof_tree_condition, [UNTRACKED], dump_solver_proof_tree: SolverProofTreeCondition = (SolverProofTreeCondition::OnRequest, parse_solver_proof_tree_condition, [UNTRACKED],
"dump a proof tree for every goal evaluated by the new trait solver. If the flag is specified without any options after it "dump a proof tree for every goal evaluated by the new trait solver. If the flag is specified without any options after it
then it defaults to `always`. If the flag is not specified at all it defaults to `on-request`."), then it defaults to `always`. If the flag is not specified at all it defaults to `on-request`."),
dump_solver_proof_tree_uses_cache: Option<bool> = (None, parse_opt_bool, [UNTRACKED], dump_solver_proof_tree_use_cache: Option<bool> = (None, parse_opt_bool, [UNTRACKED],
"determines whether proof tree generation uses the global cache"), "determines whether proof tree generation uses the global cache"),
dwarf_version: Option<u32> = (None, parse_opt_number, [TRACKED], dwarf_version: Option<u32> = (None, parse_opt_number, [TRACKED],
"version of DWARF debug information to emit (default: 2 or 4, depending on platform)"), "version of DWARF debug information to emit (default: 2 or 4, depending on platform)"),

View File

@ -183,7 +183,7 @@ fn enter_root<R>(
let inspect = { let inspect = {
let generate_proof_tree = match ( let generate_proof_tree = match (
infcx.tcx.sess.opts.unstable_opts.dump_solver_proof_tree, infcx.tcx.sess.opts.unstable_opts.dump_solver_proof_tree,
infcx.tcx.sess.opts.unstable_opts.dump_solver_proof_tree_uses_cache, infcx.tcx.sess.opts.unstable_opts.dump_solver_proof_tree_use_cache,
generate_proof_tree, generate_proof_tree,
) { ) {
(_, Some(use_cache), GenerateProofTree::Yes(_)) => { (_, Some(use_cache), GenerateProofTree::Yes(_)) => {