diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs index 4d54f2a3677..759e32abd60 100644 --- a/src/librustc/session/config.rs +++ b/src/librustc/session/config.rs @@ -1625,10 +1625,6 @@ pub fn build_session_options_and_crate_config(matches: &getopts::Matches) early_error(ErrorOutputType::Json(false), "--error-format=pretty-json is unstable"); } - if !debugging_opts.unstable_options && debugging_opts.explain { - early_error(error_format, "-Z --explain is unstable"); - } - let mut output_types = BTreeMap::new(); if !debugging_opts.parse_only { for list in matches.opt_strs("emit") {