Skip to content

Commit b204232

Browse files
authored
Derive Debug for NativeLibrary and NativeLibraryKind
1 parent d809d6e commit b204232

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/middle/cstore.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ pub enum LinkagePreference {
8787
RequireStatic,
8888
}
8989

90-
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
90+
#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash,
9191
RustcEncodable, RustcDecodable, HashStable)]
9292
pub enum NativeLibraryKind {
9393
/// native static library (.a archive)
@@ -100,7 +100,7 @@ pub enum NativeLibraryKind {
100100
NativeUnknown,
101101
}
102102

103-
#[derive(Clone, RustcEncodable, RustcDecodable, HashStable)]
103+
#[derive(Clone, Debug, RustcEncodable, RustcDecodable, HashStable)]
104104
pub struct NativeLibrary {
105105
pub kind: NativeLibraryKind,
106106
pub name: Option<Symbol>,

0 commit comments

Comments
 (0)