mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
Run fmt
This commit is contained in:
parent
93ab705655
commit
6417760632
@ -171,7 +171,7 @@ impl<'tcx, K: Eq + Hash, V: Debug + 'tcx> QueryStorage for ArenaCache<'tcx, K, V
|
||||
impl<'tcx, K, V: 'tcx> QueryCache for ArenaCache<'tcx, K, V>
|
||||
where
|
||||
K: Eq + Hash + Clone + Debug,
|
||||
V: Debug
|
||||
V: Debug,
|
||||
{
|
||||
type Key = K;
|
||||
type Sharded = FxHashMap<K, &'tcx (V, DepNodeIndex)>;
|
||||
|
@ -20,8 +20,8 @@ use rustc_errors::{Diagnostic, FatalError};
|
||||
use rustc_span::source_map::DUMMY_SP;
|
||||
use rustc_span::Span;
|
||||
use std::collections::hash_map::Entry;
|
||||
use std::hash::{Hash, Hasher};
|
||||
use std::fmt::Debug;
|
||||
use std::hash::{Hash, Hasher};
|
||||
use std::mem;
|
||||
use std::num::NonZeroU32;
|
||||
use std::ptr;
|
||||
@ -564,7 +564,12 @@ fn incremental_verify_ich<CTX, K, V: Debug>(
|
||||
|
||||
let old_hash = tcx.dep_graph().fingerprint_of(dep_node_index);
|
||||
|
||||
assert!(new_hash == old_hash, "found unstable fingerprints for {:?}: result {:?}", dep_node, result);
|
||||
assert!(
|
||||
new_hash == old_hash,
|
||||
"found unstable fingerprints for {:?}: result {:?}",
|
||||
dep_node,
|
||||
result
|
||||
);
|
||||
}
|
||||
|
||||
fn force_query_with_job<C, CTX>(
|
||||
|
Loading…
Reference in New Issue
Block a user