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 @@ -1139,7 +1139,7 @@ impl<'tcx> TyCtxt<'tcx> {
1139
1139
on_disk_cache : Option < query:: OnDiskCache < ' tcx > > ,
1140
1140
queries : & ' tcx dyn query:: QueryEngine < ' tcx > ,
1141
1141
crate_name : & str ,
1142
- output_filenames : & OutputFilenames ,
1142
+ output_filenames : OutputFilenames ,
1143
1143
) -> GlobalCtxt < ' tcx > {
1144
1144
let data_layout = TargetDataLayout :: parse ( & s. target ) . unwrap_or_else ( |err| {
1145
1145
s. fatal ( & err) ;
@@ -1190,7 +1190,7 @@ impl<'tcx> TyCtxt<'tcx> {
1190
1190
stability_interner : Default :: default ( ) ,
1191
1191
const_stability_interner : Default :: default ( ) ,
1192
1192
alloc_map : Lock :: new ( interpret:: AllocMap :: new ( ) ) ,
1193
- output_filenames : Arc :: new ( output_filenames. clone ( ) ) ,
1193
+ output_filenames : Arc :: new ( output_filenames) ,
1194
1194
main_def : resolutions. main_def ,
1195
1195
}
1196
1196
}
You can’t perform that action at this time.
0 commit comments