Useful derives on ops::Status
This commit is contained in:
parent
e0bc267512
commit
3dd28c78c3
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue