Skip to content

Commit

Permalink
Make OpTy field op public for priroda
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Oct 18, 2018
1 parent af204b1 commit 7403d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/interpret/operand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ impl<Tag> Operand<Tag> {

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

Expand Down

0 comments on commit 7403d55

Please sign in to comment.