1
Fork 0

Add ItemKind::Ctor to stable mir

This commit is contained in:
Celina G. Val 2023-12-19 15:03:57 -08:00
parent 48c7cc2090
commit 7ab38b80eb
3 changed files with 22 additions and 11 deletions

View file

@ -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;