about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJ. Ryan Stinnett <jryans@gmail.com>2020-11-28 15:07:51 +0000
committerJ. Ryan Stinnett <jryans@gmail.com>2020-11-28 15:07:51 +0000
commit8b18f41b98df5d82c3d4e1cfd7f3e9c73b2f22e5 (patch)
tree9e9949c44c1a440c62d8534688473e7af49e9da0
parent192c7dbb6dbd0b2c176101ed2fe785901b2a457d (diff)
downloadrust-8b18f41b98df5d82c3d4e1cfd7f3e9c73b2f22e5.tar.gz
rust-8b18f41b98df5d82c3d4e1cfd7f3e9c73b2f22e5.zip
Derive `Debug` for `DebugInfo`
This was useful during testing of `dsymutil` code paths.
-rw-r--r--compiler/rustc_session/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs
index db16a90cc60..b648e14360c 100644
--- a/compiler/rustc_session/src/config.rs
+++ b/compiler/rustc_session/src/config.rs
@@ -214,7 +214,7 @@ pub enum SymbolManglingVersion {
 
 impl_stable_hash_via_hash!(SymbolManglingVersion);
 
-#[derive(Clone, Copy, PartialEq, Hash)]
+#[derive(Clone, Copy, Debug, PartialEq, Hash)]
 pub enum DebugInfo {
     None,
     Limited,