Skip to content

Commit 7403d55

Browse files
committed
Make OpTy field op public for priroda
1 parent af204b1 commit 7403d55

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)