Skip to content

Commit 3dd28c7

Browse files
Useful derives on ops::Status
1 parent e0bc267 commit 3dd28c7

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_mir/src/transform/check_consts

1 file changed

+1
-0
lines changed

compiler/rustc_mir/src/transform/check_consts/ops.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ pub fn non_const<O: NonConstOp>(ccx: &ConstCx<'_, '_>, op: O, span: Span) {
5151
op.emit_error(ccx, span);
5252
}
5353

54+
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
5455
pub enum Status {
5556
Allowed,
5657
Unstable(Symbol),

0 commit comments

Comments
 (0)