rust/compiler/stable_mir/src
Matthias Krüger 1cb17dd6f2
Rollup merge of #138536 - makai410:mut-mir-visitor, r=celinval
stable_mir: Add `MutMirVisitor`

Resolves: [rust-lang/project-stable-mir#81](https://github.com/rust-lang/project-stable-mir/issues/81).

I am unsure if we should add a `MutableBody` like Kani did.
Currently, I use `&mut Body` in `MutMirVisitor::visit_body()`.

r? ``````@celinval``````
2025-03-22 11:59:17 +01:00
..
mir Rollup merge of #138536 - makai410:mut-mir-visitor, r=celinval 2025-03-22 11:59:17 +01:00
abi.rs Remove BackendRepr::Uninhabited, replaced with an uninhabited: bool field in LayoutData. 2025-02-20 13:27:32 -06:00
compiler_interface.rs change smir attributes getters to only support tool attributes 2025-02-24 14:31:19 +01:00
crate_def.rs Remove duplication in name/trimmed_anem docs 2025-03-02 13:02:20 +03:00
error.rs Implement missing ABI structures in StableMIR 2024-03-01 11:02:05 -08:00
lib.rs Make CrateItem::body() function return an option 2025-03-04 17:46:40 -08:00
mir.rs Add MutMirVisitor 2025-03-18 09:48:30 +08:00
target.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ty.rs Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
visitor.rs Fix bugs due to unhandled ControlFlow 2025-02-22 23:56:14 +00:00