@@ -101,7 +101,6 @@ pub struct Options {
101
101
pub parse_only : bool ,
102
102
pub no_trans : bool ,
103
103
pub treat_err_as_bug : bool ,
104
- pub always_build_mir : bool ,
105
104
pub no_analysis : bool ,
106
105
pub debugging_opts : DebuggingOptions ,
107
106
pub prints : Vec < PrintRequest > ,
@@ -211,7 +210,6 @@ pub fn basic_options() -> Options {
211
210
parse_only : false ,
212
211
no_trans : false ,
213
212
treat_err_as_bug : false ,
214
- always_build_mir : false ,
215
213
no_analysis : false ,
216
214
debugging_opts : basic_debugging_options ( ) ,
217
215
prints : Vec :: new ( ) ,
@@ -578,8 +576,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
578
576
"Run all passes except translation; no output" ) ,
579
577
treat_err_as_bug: bool = ( false , parse_bool,
580
578
"Treat all errors that occur as bugs" ) ,
581
- always_build_mir: bool = ( false , parse_bool,
582
- "Always build MIR for all fns, even without a #[rustc_mir] annotation" ) ,
583
579
no_analysis: bool = ( false , parse_bool,
584
580
"Parse and expand the source, but run no analysis" ) ,
585
581
extra_plugins: Vec <String > = ( Vec :: new( ) , parse_list,
@@ -895,7 +891,6 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
895
891
let parse_only = debugging_opts. parse_only ;
896
892
let no_trans = debugging_opts. no_trans ;
897
893
let treat_err_as_bug = debugging_opts. treat_err_as_bug ;
898
- let always_build_mir = debugging_opts. always_build_mir ;
899
894
let no_analysis = debugging_opts. no_analysis ;
900
895
901
896
if debugging_opts. debug_llvm {
@@ -1049,7 +1044,6 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
1049
1044
parse_only : parse_only,
1050
1045
no_trans : no_trans,
1051
1046
treat_err_as_bug : treat_err_as_bug,
1052
- always_build_mir : always_build_mir,
1053
1047
no_analysis : no_analysis,
1054
1048
debugging_opts : debugging_opts,
1055
1049
prints : prints,
0 commit comments