implement Debug for Linkage
this would have been useful while debugging something in my own project
This commit is contained in:
committed by
Benjamin Bouvier
parent
9f506692c2
commit
e045a6df27
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user