about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-06-06 00:58:45 +0200
committerGitHub <noreply@github.com>2025-06-06 00:58:45 +0200
commit29954af23a56fc8172b09bf5303bad891e3c94fd (patch)
tree112ef7e4244dcc736ba1b81c123bc77580e8b946 /compiler/rustc_interface/src
parentc1d1f7a16fac9d3b5dc37ff94e245bf54c2f20ae (diff)
parent64df9e3c8a38e6975a6376ba0384d0a7bd4949ea (diff)
downloadrust-29954af23a56fc8172b09bf5303bad891e3c94fd.tar.gz
rust-29954af23a56fc8172b09bf5303bad891e3c94fd.zip
Rollup merge of #142044 - workingjubilee:document-operandvalue-pair, r=scottmcm
compiler: Document the offset invariant of `OperandValue::Pair`

A subtle invariant of `OperandValue::Pair` that came up during review and was found to be undocumented.

Visible in code like this:
https://github.com/rust-lang/rust/blob/4b27a04cc8ed4da10a546a871e23e665d03f7a79/compiler/rustc_codegen_ssa/src/mir/operand.rs#L376-L392
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions