about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2019-08-11 16:51:36 +0200
committerGitHub <noreply@github.com>2019-08-11 16:51:36 +0200
commitb204232fd35ff021b4c71fb4d307731014e0345b (patch)
treedb1d815bfc5a782eeafaa3eae5e1f6f8167b2705
parentd809d6ee899154a0ba99e6159ba9d54330ebf0ac (diff)
downloadrust-b204232fd35ff021b4c71fb4d307731014e0345b.tar.gz
rust-b204232fd35ff021b4c71fb4d307731014e0345b.zip
Derive Debug for NativeLibrary and NativeLibraryKind
-rw-r--r--src/librustc/middle/cstore.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/middle/cstore.rs b/src/librustc/middle/cstore.rs
index 5a580dfa420..d37b2367ae7 100644
--- a/src/librustc/middle/cstore.rs
+++ b/src/librustc/middle/cstore.rs
@@ -87,7 +87,7 @@ pub enum LinkagePreference {
     RequireStatic,
 }
 
-#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
+#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash,
          RustcEncodable, RustcDecodable, HashStable)]
 pub enum NativeLibraryKind {
     /// native static library (.a archive)
@@ -100,7 +100,7 @@ pub enum NativeLibraryKind {
     NativeUnknown,
 }
 
-#[derive(Clone, RustcEncodable, RustcDecodable, HashStable)]
+#[derive(Clone, Debug, RustcEncodable, RustcDecodable, HashStable)]
 pub struct NativeLibrary {
     pub kind: NativeLibraryKind,
     pub name: Option<Symbol>,