make type-flags exhaustive
Didn't find any bugs here, but you really don't want these to fall out of sync.
This commit is contained in:
parent
2e7244807a
commit
25d04f83e3
@ -250,7 +250,9 @@ impl FlagComputation {
|
|||||||
ConstValue::Placeholder(_) => {
|
ConstValue::Placeholder(_) => {
|
||||||
self.add_flags(TypeFlags::HAS_FREE_REGIONS | TypeFlags::HAS_CT_PLACEHOLDER);
|
self.add_flags(TypeFlags::HAS_FREE_REGIONS | TypeFlags::HAS_CT_PLACEHOLDER);
|
||||||
}
|
}
|
||||||
_ => {},
|
ConstValue::Scalar(_) => { }
|
||||||
|
ConstValue::Slice { data: _, start: _, end: _ } => { }
|
||||||
|
ConstValue::ByRef { alloc: _, offset: _ } => { }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user