about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-06-15 19:51:35 +0200
committerGitHub <noreply@github.com>2024-06-15 19:51:35 +0200
commitbe1d42776df3bc308634ec888fe97f26404466e9 (patch)
treebe86219d955c598e678c7b86ba19bc9a1b450805 /compiler/rustc_codegen_llvm/src/errors.rs
parent709d8623088c3935527e88fa2600233238dae241 (diff)
parentdcee529e5c9dc505cc28b6b05d50b78ae2ab8b7e (diff)
downloadrust-be1d42776df3bc308634ec888fe97f26404466e9.tar.gz
rust-be1d42776df3bc308634ec888fe97f26404466e9.zip
Rollup merge of #126410 - RalfJung:smir-const-operand, r=oli-obk
smir: merge identical Constant and ConstOperand types

The first commit renames the const operand visitor functions on regular MIR to match the type name, that was forgotten in the original rename.

The second commit changes stable MIR, fixing https://github.com/rust-lang/project-stable-mir/issues/71. Previously there were two different smir types for the MIR type `ConstOperand`, one used in `Operand` and one in `VarDebugInfoContents`.

Maybe we should have done this with https://github.com/rust-lang/rust/pull/125967, so there's only a single breaking change... but I saw that PR too late.

Fixes https://github.com/rust-lang/project-stable-mir/issues/71
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions