Useful derives on ops::Status

This commit is contained in:
Dylan MacKenzie 2020-09-17 11:10:36 -07:00
parent e0bc267512
commit 3dd28c78c3

View File

@ -51,6 +51,7 @@ pub fn non_const<O: NonConstOp>(ccx: &ConstCx<'_, '_>, op: O, span: Span) {
op.emit_error(ccx, span);
}
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum Status {
Allowed,
Unstable(Symbol),