mirror of
https://github.com/rust-lang/rust
synced 2024-10-22 00:14:09 +00:00
Useful derives on ops::Status
This commit is contained in:
parent
e0bc267512
commit
3dd28c78c3
|
@ -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…
Reference in a new issue