implement Debug for Linkage

this would have been useful while debugging something in my own project
This commit is contained in:
Joshua Nelson
2019-10-27 17:07:59 -04:00
committed by Benjamin Bouvier
parent 9f506692c2
commit e045a6df27

View File

@@ -48,7 +48,7 @@ impl From<DataId> for ir::ExternalName {
}
/// Linkage refers to where an entity is defined and who can see it.
#[derive(Copy, Clone, PartialEq, Eq)]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum Linkage {
/// Defined outside of a module.
Import,