rust/compiler/stable_mir/src
Matthias Krüger 3331d0d1e7
Rollup merge of #122801 - celinval:smir-pretty, r=compiler-errors
Fix misc printing issues in emit=stable_mir

Trying to continue the work that ````@ouz-a```` started here: https://github.com/rust-lang/rust/pull/118364

Few modifications beyond fixes:
1. I made the `pretty_*` functions private.
2. I added a function to print the instance body
3. Changed a bunch of signatures to write to the writer directly.
4. Added a function to translate the place to its internal representation, so we could use the internal debug implementation.
5. Also removed `pretty_ty`, replaced by Display implementation of Ty which uses the internal display.
2024-03-21 12:05:08 +01:00
..
mir Rollup merge of #122801 - celinval:smir-pretty, r=compiler-errors 2024-03-21 12:05:08 +01:00
abi.rs Fix StableMIR is_full computation 2024-03-13 00:36:54 -07:00
compiler_interface.rs s/place_debug/place_pretty in SMIR 2024-03-20 18:02:11 -07:00
crate_def.rs Improve documentation and fix the fixme comment 2023-11-23 12:29:20 -08:00
error.rs Implement missing ABI structures in StableMIR 2024-03-01 11:02:05 -08:00
lib.rs Improve emit stable mir body 2024-03-20 15:55:35 -07:00
mir.rs Add support to global allocation to stable-mir 2023-11-21 19:16:53 -08:00
target.rs Implement missing ABI structures in StableMIR 2024-03-01 11:02:05 -08:00
ty.rs Add methods to create constants 2024-03-12 11:17:22 -07:00
visitor.rs Restore movability to SMIR 2023-12-28 16:35:01 +00:00