From 7403d55f06f2837cb5d2b0ba7ee790f52e044ce6 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Thu, 18 Oct 2018 14:17:01 +0200 Subject: [PATCH] Make OpTy field op public for priroda --- src/librustc_mir/interpret/operand.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/interpret/operand.rs b/src/librustc_mir/interpret/operand.rs index 2d6b19ca4a7fc..83b5831f3ad67 100644 --- a/src/librustc_mir/interpret/operand.rs +++ b/src/librustc_mir/interpret/operand.rs @@ -291,7 +291,7 @@ impl Operand { #[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)] pub struct OpTy<'tcx, Tag=()> { - crate op: Operand, // ideally we'd make this private, but const_prop needs this + pub op: Operand, // This is used by [priroda](https://github.com/oli-obk/priroda) pub layout: TyLayout<'tcx>, }