Add ItemKind::Ctor
to stable mir
This commit is contained in:
parent
48c7cc2090
commit
7ab38b80eb
3 changed files with 22 additions and 11 deletions
|
@ -91,6 +91,13 @@ pub enum ItemKind {
|
|||
Fn,
|
||||
Static,
|
||||
Const,
|
||||
Ctor(CtorKind),
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash)]
|
||||
pub enum CtorKind {
|
||||
Const,
|
||||
Fn,
|
||||
}
|
||||
|
||||
pub type Filename = String;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue