File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 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>(
799799 query_result_on_disk_cache,
800800 queries. as_dyn ( ) ,
801801 & crate_name,
802- & outputs,
802+ outputs,
803803 )
804804 } )
805805 } ) ;
Original file line number Diff line number Diff line change @@ -1113,7 +1113,7 @@ impl<'tcx> TyCtxt<'tcx> {
11131113 on_disk_cache : Option < query:: OnDiskCache < ' tcx > > ,
11141114 queries : & ' tcx dyn query:: QueryEngine < ' tcx > ,
11151115 crate_name : & str ,
1116- output_filenames : & OutputFilenames ,
1116+ output_filenames : OutputFilenames ,
11171117 ) -> GlobalCtxt < ' tcx > {
11181118 let data_layout = TargetDataLayout :: parse ( & s. target ) . unwrap_or_else ( |err| {
11191119 s. fatal ( & err) ;
@@ -1148,7 +1148,7 @@ impl<'tcx> TyCtxt<'tcx> {
11481148 stability_interner : Default :: default ( ) ,
11491149 const_stability_interner : Default :: default ( ) ,
11501150 alloc_map : Lock :: new ( interpret:: AllocMap :: new ( ) ) ,
1151- output_filenames : Arc :: new ( output_filenames. clone ( ) ) ,
1151+ output_filenames : Arc :: new ( output_filenames) ,
11521152 }
11531153 }
11541154
You can’t perform that action at this time.
0 commit comments