@@ -155,13 +155,12 @@ impl_stable_hash_via_hash!(OutputType);
155
155
impl OutputType {
156
156
fn is_compatible_with_codegen_units_and_single_output_file ( & self ) -> bool {
157
157
match * self {
158
- OutputType :: Exe | OutputType :: DepInfo => true ,
158
+ OutputType :: Exe | OutputType :: DepInfo | OutputType :: Metadata => true ,
159
159
OutputType :: Bitcode
160
160
| OutputType :: Assembly
161
161
| OutputType :: LlvmAssembly
162
162
| OutputType :: Mir
163
- | OutputType :: Object
164
- | OutputType :: Metadata => false ,
163
+ | OutputType :: Object => false ,
165
164
}
166
165
}
167
166
@@ -1216,10 +1215,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
1216
1215
"make unnamed regions display as '# (where # is some non-ident unique id)" ) ,
1217
1216
borrowck: Option <String > = ( None , parse_opt_string, [ UNTRACKED ] ,
1218
1217
"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" ) ,
1223
1218
time_passes: bool = ( false , parse_bool, [ UNTRACKED ] ,
1224
1219
"measure time of each rustc pass" ) ,
1225
1220
time: bool = ( false , parse_bool, [ UNTRACKED ] ,
0 commit comments