@@ -155,13 +155,12 @@ impl_stable_hash_via_hash!(OutputType);
155155impl OutputType {
156156 fn is_compatible_with_codegen_units_and_single_output_file ( & self ) -> bool {
157157 match * self {
158- OutputType :: Exe | OutputType :: DepInfo => true ,
158+ OutputType :: Exe | OutputType :: DepInfo | OutputType :: Metadata => true ,
159159 OutputType :: Bitcode
160160 | OutputType :: Assembly
161161 | OutputType :: LlvmAssembly
162162 | OutputType :: Mir
163- | OutputType :: Object
164- | OutputType :: Metadata => false ,
163+ | OutputType :: Object => false ,
165164 }
166165 }
167166
@@ -1216,10 +1215,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
12161215 "make unnamed regions display as '# (where # is some non-ident unique id)" ) ,
12171216 borrowck: Option <String > = ( None , parse_opt_string, [ UNTRACKED ] ,
12181217 "select which borrowck is used (`ast`, `mir`, `migrate`, or `compare`)" ) ,
1219- two_phase_borrows: bool = ( false , parse_bool, [ UNTRACKED ] ,
1220- "use two-phase reserved/active distinction for `&mut` borrows in MIR borrowck" ) ,
1221- two_phase_beyond_autoref: bool = ( false , parse_bool, [ UNTRACKED ] ,
1222- "when using two-phase-borrows, allow two phases even for non-autoref `&mut` borrows" ) ,
12231218 time_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
12241219 "measure time of each rustc pass" ) ,
12251220 time: bool = ( false , parse_bool, [ UNTRACKED ] ,
0 commit comments