bors
260f1acad9
Auto merge of #163721 - tmiasko:pretty-dataflow, r=Amanieu
...
Annotate MIR with dataflow results for testing purposes
When requested through an internal rustc attribute, include dataflow
results in MIR output, i.e., `-Zunpretty=mir` or `--emit mir`.
For now, supported dataflows are:
* `#[rustc_mir(rustc_pretty_live_locals)]`
* `#[rustc_mir(rustc_pretty_transitive_live_locals)]`
The mechanism is intended to supersede existing `rustc_peek` intrinsic.
For demonstration also migrates one of tests based on `rustc_peek`:
tests/ui/mir-dataflow/liveness-projection.rs.
2026-10-04 22:32:51 +00:00
..
2026-09-30 21:00:04 +00:00
2026-10-01 12:32:32 +02:00
2026-09-29 22:18:54 +00:00
2026-10-04 21:17:29 +02:00
2026-09-29 22:18:54 +00:00
2026-10-03 22:41:12 +02:00
2026-10-04 04:19:49 -07:00
2026-09-28 07:36:17 +00:00
2026-10-04 15:12:57 +00:00
2026-10-04 15:12:57 +00:00
2026-10-04 00:58:38 +00:00
2026-10-01 00:39:00 -04:00
2026-10-02 18:56:41 +00:00
2026-10-04 21:28:21 +02:00
2026-10-03 12:22:32 +02:00
2026-10-02 22:39:48 +02:00
2026-10-04 00:12:30 +00:00
2026-09-25 14:56:26 -04:00
2026-10-01 17:22:39 +02:00
2026-10-03 18:21:08 +00:00
2026-10-03 17:27:53 +00:00
2026-10-01 21:46:52 +10:00
2026-09-28 07:36:17 +00:00
2026-10-04 17:29:46 +11:00
2026-09-29 22:18:54 +00:00
2026-10-04 04:19:49 -07:00
2026-09-28 13:02:51 +03:00
2026-09-28 07:36:17 +00:00
2026-10-04 21:28:25 +02:00
2026-09-24 16:05:26 +02:00
2026-10-02 05:02:00 +00:00
2026-10-04 22:32:51 +00:00
2026-09-27 20:53:55 +00:00
2026-09-28 15:28:49 +00:00
2026-10-04 16:05:21 +07:00
2026-10-03 12:22:32 +02:00
2026-09-27 09:32:09 +02:00
2026-10-03 17:27:53 +00:00
2026-10-01 17:22:41 +02:00
2026-10-04 22:32:51 +00:00
2026-09-28 15:28:49 +00:00
2026-10-04 15:12:57 +00:00
2026-10-01 17:22:52 +02:00
2026-10-01 17:22:53 +02:00
2026-10-02 18:37:46 +03:30
2026-10-04 21:28:25 +02:00
2026-10-03 20:07:55 +02:00
2026-09-29 22:18:54 +00:00
2026-10-03 23:46:39 +00:00
2026-10-02 11:15:22 +00:00
2026-09-25 18:39:43 +02:00
2026-09-26 09:05:21 +10:00
2026-10-02 16:08:09 +02:00
2026-09-25 18:39:43 +02:00
2026-09-29 22:18:54 +00:00
2026-10-04 21:28:25 +02:00
2026-10-04 22:32:51 +00:00
2026-10-04 21:28:26 +02:00
2026-10-04 21:28:21 +02:00
2026-10-03 23:46:39 +00:00
2026-09-29 22:18:54 +00:00
2026-09-29 22:18:54 +00:00
2026-10-02 22:39:49 +02:00