File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -799,7 +799,7 @@ pub fn create_global_ctxt<'tcx>(
799
799
query_result_on_disk_cache,
800
800
queries. as_dyn ( ) ,
801
801
& crate_name,
802
- & outputs,
802
+ outputs,
803
803
)
804
804
} )
805
805
} ) ;
Original file line number Diff line number Diff line change @@ -1135,7 +1135,7 @@ impl<'tcx> TyCtxt<'tcx> {
1135
1135
on_disk_cache : Option < query:: OnDiskCache < ' tcx > > ,
1136
1136
queries : & ' tcx dyn query:: QueryEngine < ' tcx > ,
1137
1137
crate_name : & str ,
1138
- output_filenames : & OutputFilenames ,
1138
+ output_filenames : OutputFilenames ,
1139
1139
) -> GlobalCtxt < ' tcx > {
1140
1140
let data_layout = TargetDataLayout :: parse ( & s. target ) . unwrap_or_else ( |err| {
1141
1141
s. fatal ( & err) ;
@@ -1179,7 +1179,7 @@ impl<'tcx> TyCtxt<'tcx> {
1179
1179
stability_interner : Default :: default ( ) ,
1180
1180
const_stability_interner : Default :: default ( ) ,
1181
1181
alloc_map : Lock :: new ( interpret:: AllocMap :: new ( ) ) ,
1182
- output_filenames : Arc :: new ( output_filenames. clone ( ) ) ,
1182
+ output_filenames : Arc :: new ( output_filenames) ,
1183
1183
main_def : resolutions. main_def ,
1184
1184
}
1185
1185
}
You can’t perform that action at this time.
0 commit comments