File tree 2 files changed +2
-14
lines changed
2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -1799,19 +1799,7 @@ pub fn build_session_options_and_crate_config(
1799
1799
Some ( "human" ) => ErrorOutputType :: HumanReadable ( color) ,
1800
1800
Some ( "json" ) => ErrorOutputType :: Json ( false ) ,
1801
1801
Some ( "pretty-json" ) => ErrorOutputType :: Json ( true ) ,
1802
- Some ( "short" ) => {
1803
- if nightly_options:: is_unstable_enabled ( matches) {
1804
- ErrorOutputType :: Short ( color)
1805
- } else {
1806
- early_error (
1807
- ErrorOutputType :: default ( ) ,
1808
- & format ! (
1809
- "the `-Z unstable-options` flag must also be passed to \
1810
- enable the short error message option"
1811
- ) ,
1812
- ) ;
1813
- }
1814
- }
1802
+ Some ( "short" ) => ErrorOutputType :: Short ( color) ,
1815
1803
None => ErrorOutputType :: HumanReadable ( color) ,
1816
1804
1817
1805
Some ( arg) => early_error (
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- // compile-flags: --error-format=short -Zunstable-options
11
+ // compile-flags: --error-format=short
12
12
13
13
fn foo ( _: u32 ) { }
14
14
You can’t perform that action at this time.
0 commit comments