Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of #56597 - vext01:dump-mir-usage, r=wesleywiser
Improve the usage message for `-Z dump-mir`. Ouput now looks like this: ``` $ rustc -Z help ... -Z arg-align-attributes -- emit align metadata for reference arguments -Z dump-mir=val -- dump MIR state to file. `val` is used to select which passes and functions to dump. For example: `all` matches all passes and functions, `foo` matches all passes for functions whose name contains 'foo', `foo & ConstProp` only the 'ConstProp' pass for function names containing 'foo', `foo | bar` all passes for function names containing 'foo' or 'bar'. -Z dump-mir-dir=val -- the directory the MIR is dumped into ... ``` Fixes #56558
- Loading branch information