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 @@ -1139,7 +1139,7 @@ impl<'tcx> TyCtxt<'tcx> {
11391139 on_disk_cache : Option < query:: OnDiskCache < ' tcx > > ,
11401140 queries : & ' tcx dyn query:: QueryEngine < ' tcx > ,
11411141 crate_name : & str ,
1142- output_filenames : & OutputFilenames ,
1142+ output_filenames : OutputFilenames ,
11431143 ) -> GlobalCtxt < ' tcx > {
11441144 let data_layout = TargetDataLayout :: parse ( & s. target ) . unwrap_or_else ( |err| {
11451145 s. fatal ( & err) ;
@@ -1190,7 +1190,7 @@ impl<'tcx> TyCtxt<'tcx> {
11901190 stability_interner : Default :: default ( ) ,
11911191 const_stability_interner : Default :: default ( ) ,
11921192 alloc_map : Lock :: new ( interpret:: AllocMap :: new ( ) ) ,
1193- output_filenames : Arc :: new ( output_filenames. clone ( ) ) ,
1193+ output_filenames : Arc :: new ( output_filenames) ,
11941194 main_def : resolutions. main_def ,
11951195 }
11961196 }
You can’t perform that action at this time.
0 commit comments