Avoid implementing Debug for QueryConfig

This commit is contained in:
John Kåre Alsaker 2023-02-25 22:15:30 +01:00
parent 3fd7c4a17d
commit 3b26d71e04
4 changed files with 14 additions and 5 deletions

View file

@ -88,6 +88,15 @@ impl<T: DepContext> HasDepContext for T {
}
}
impl<T: HasDepContext, Q: Copy> HasDepContext for (T, Q) {
type DepKind = T::DepKind;
type DepContext = T::DepContext;
fn dep_context(&self) -> &Self::DepContext {
self.0.dep_context()
}
}
/// Describes the contents of the fingerprint generated by a given query.
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
pub enum FingerprintStyle {