Skip to content

Commit 7d41cba

Browse files
committed
Don't make it necessary to enable unstable-options
1 parent ffb827a commit 7d41cba

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc/session/config.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1625,10 +1625,6 @@ pub fn build_session_options_and_crate_config(matches: &getopts::Matches)
16251625
early_error(ErrorOutputType::Json(false), "--error-format=pretty-json is unstable");
16261626
}
16271627

1628-
if !debugging_opts.unstable_options && debugging_opts.explain {
1629-
early_error(error_format, "-Z --explain is unstable");
1630-
}
1631-
16321628
let mut output_types = BTreeMap::new();
16331629
if !debugging_opts.parse_only {
16341630
for list in matches.opt_strs("emit") {

0 commit comments

Comments
 (0)