From 7d41cbad6a34976e3d6d0321ba1d4c433e24e21c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20K=C3=BCber?= Date: Mon, 22 Jan 2018 18:05:49 -0800 Subject: [PATCH] Don't make it necessary to enable `unstable-options` --- src/librustc/session/config.rs | 4 ---- 1 file changed, 4 deletions(-) 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") {