Use TypeCtorId as AdtId directly, and rename the type alias StructId -> AdtId
This commit is contained in:
committed by
Florian Diebold
parent
1d0e27254d
commit
27fe68ad5c
@@ -155,7 +155,7 @@ pub enum TypeCtor {
|
||||
/// This exists just for Chalk, because Chalk just has a single `StructId` where
|
||||
/// we have different kinds of ADTs, primitive types and special type
|
||||
/// constructors like tuples and function pointers.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Ord, PartialOrd)]
|
||||
pub struct TypeCtorId(salsa::InternId);
|
||||
impl_intern_key!(TypeCtorId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user