1
Fork 0

Enforce that query results implement Debug

This commit is contained in:
Aaron Hill 2021-01-03 09:19:16 -05:00
parent 492b83c697
commit 7afb32557d
No known key found for this signature in database
GPG key ID: B4087E510E98B164
22 changed files with 45 additions and 33 deletions

View file

@ -361,7 +361,7 @@ impl Default for TrimmedDefPaths {
/// Use tree-based collections to cheaply get a deterministic `Hash` implementation.
/// *Do not* switch `BTreeMap` out for an unsorted container type! That would break
/// dependency tracking for command-line arguments.
#[derive(Clone, Hash)]
#[derive(Clone, Hash, Debug)]
pub struct OutputTypes(BTreeMap<OutputType, Option<PathBuf>>);
impl_stable_hash_via_hash!(OutputTypes);
@ -538,7 +538,7 @@ impl Input {
}
}
#[derive(Clone, Hash)]
#[derive(Clone, Hash, Debug)]
pub struct OutputFilenames {
pub out_directory: PathBuf,
filestem: String,