Skip to content

Commit cb9f6be

Browse files
committed
Rollup merge of rust-lang#55179 - bjorn3:miri_public_op_field, r=oli-obk
Make OpTy field op public for priroda r? @oli-obk
2 parents 761cc57 + 7403d55 commit cb9f6be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/operand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ impl<Tag> Operand<Tag> {
291291

292292
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
293293
pub struct OpTy<'tcx, Tag=()> {
294-
crate op: Operand<Tag>, // ideally we'd make this private, but const_prop needs this
294+
pub op: Operand<Tag>, // This is used by [priroda](https://github.com/oli-obk/priroda)
295295
pub layout: TyLayout<'tcx>,
296296
}
297297

0 commit comments

Comments
 (0)