Skip to content

Commit 6417760

Browse files
committed
Run fmt
1 parent 93ab705 commit 6417760

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

compiler/rustc_query_system/src/query/caches.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ impl<'tcx, K: Eq + Hash, V: Debug + 'tcx> QueryStorage for ArenaCache<'tcx, K, V
171171
impl<'tcx, K, V: 'tcx> QueryCache for ArenaCache<'tcx, K, V>
172172
where
173173
K: Eq + Hash + Clone + Debug,
174-
V: Debug
174+
V: Debug,
175175
{
176176
type Key = K;
177177
type Sharded = FxHashMap<K, &'tcx (V, DepNodeIndex)>;

compiler/rustc_query_system/src/query/plumbing.rs

+7-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ use rustc_errors::{Diagnostic, FatalError};
2020
use rustc_span::source_map::DUMMY_SP;
2121
use rustc_span::Span;
2222
use std::collections::hash_map::Entry;
23-
use std::hash::{Hash, Hasher};
2423
use std::fmt::Debug;
24+
use std::hash::{Hash, Hasher};
2525
use std::mem;
2626
use std::num::NonZeroU32;
2727
use std::ptr;
@@ -564,7 +564,12 @@ fn incremental_verify_ich<CTX, K, V: Debug>(
564564

565565
let old_hash = tcx.dep_graph().fingerprint_of(dep_node_index);
566566

567-
assert!(new_hash == old_hash, "found unstable fingerprints for {:?}: result {:?}", dep_node, result);
567+
assert!(
568+
new_hash == old_hash,
569+
"found unstable fingerprints for {:?}: result {:?}",
570+
dep_node,
571+
result
572+
);
568573
}
569574

570575
fn force_query_with_job<C, CTX>(

0 commit comments

Comments
 (0)