Function rustc_session::config::parse_json
source · pub fn parse_json(early_dcx: &EarlyDiagCtxt, matches: &Matches) -> JsonConfig
Expand description
Parse the --json
flag.
The first value returned is how to render JSON diagnostics, and the second is whether or not artifact notifications are enabled.