Skip to content

Commit adefeb8

Browse files
committed
change flag name
1 parent 2ad00f4 commit adefeb8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_session/src/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ options! {
14811481
dump_solver_proof_tree: SolverProofTreeCondition = (SolverProofTreeCondition::OnRequest, parse_solver_proof_tree_condition, [UNTRACKED],
14821482
"dump a proof tree for every goal evaluated by the new trait solver. If the flag is specified without any options after it
14831483
then it defaults to `always`. If the flag is not specified at all it defaults to `on-request`."),
1484-
dump_solver_proof_tree_uses_cache: Option<bool> = (None, parse_opt_bool, [UNTRACKED],
1484+
dump_solver_proof_tree_use_cache: Option<bool> = (None, parse_opt_bool, [UNTRACKED],
14851485
"determines whether proof tree generation uses the global cache"),
14861486
dwarf_version: Option<u32> = (None, parse_opt_number, [TRACKED],
14871487
"version of DWARF debug information to emit (default: 2 or 4, depending on platform)"),

compiler/rustc_trait_selection/src/solve/eval_ctxt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ impl<'a, 'tcx> EvalCtxt<'a, 'tcx> {
183183
let inspect = {
184184
let generate_proof_tree = match (
185185
infcx.tcx.sess.opts.unstable_opts.dump_solver_proof_tree,
186-
infcx.tcx.sess.opts.unstable_opts.dump_solver_proof_tree_uses_cache,
186+
infcx.tcx.sess.opts.unstable_opts.dump_solver_proof_tree_use_cache,
187187
generate_proof_tree,
188188
) {
189189
(_, Some(use_cache), GenerateProofTree::Yes(_)) => {

0 commit comments

Comments
 (0)