Graphviz output for rustc_mir


According to this reddit post it is possible to generate the mir representation with the nightly toolchain.


#[rustc_mir(graphviz = "")]
fn foo() {...}

However when I try it myself there is no file written by rustc.


That was removed in You can use --unpretty mir-cfg, --unpretty mir, or just click the MIR button in the playpen.


Thanks, that helps a lot.