diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-01-03 09:19:16 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-01-16 17:53:02 -0500 |
| commit | 7afb32557da945ec70fc926dbd91006089005fa4 (patch) | |
| tree | d556d4da0e559d98a25e932835646fc942b70b52 /compiler/rustc_session/src | |
| parent | 492b83c6971c390af7a42932869502224ef55ef7 (diff) | |
| download | rust-7afb32557da945ec70fc926dbd91006089005fa4.tar.gz rust-7afb32557da945ec70fc926dbd91006089005fa4.zip | |
Enforce that query results implement Debug
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs index 0cafdec1495..3aa728439b8 100644 --- a/compiler/rustc_session/src/config.rs +++ b/compiler/rustc_session/src/config.rs @@ -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, |
