We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8955686 commit b1568e6Copy full SHA for b1568e6
compiler/rustc_const_eval/src/interpret/operand.rs
@@ -182,7 +182,8 @@ pub struct OpTy<'tcx, Tag: Provenance = AllocId> {
182
/// So we represent this here with a separate field that "overwrites" `layout.align`.
183
/// This means `layout.align` should never be used for an `OpTy`!
184
/// `None` means "alignment does not matter since this is a by-value operand"
185
- /// (`Operand::Immediate`).
+ /// (`Operand::Immediate`); this field is only relevant for `Operand::Indirect`.
186
+ /// Also CTFE ignores alignment anyway, so this is for Miri only.
187
pub align: Option<Align>,
188
}
189
0 commit comments