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>(
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 @@ -1113,7 +1113,7 @@ impl<'tcx> TyCtxt<'tcx> {
1113
1113
on_disk_cache : Option < query:: OnDiskCache < ' tcx > > ,
1114
1114
queries : & ' tcx dyn query:: QueryEngine < ' tcx > ,
1115
1115
crate_name : & str ,
1116
- output_filenames : & OutputFilenames ,
1116
+ output_filenames : OutputFilenames ,
1117
1117
) -> GlobalCtxt < ' tcx > {
1118
1118
let data_layout = TargetDataLayout :: parse ( & s. target ) . unwrap_or_else ( |err| {
1119
1119
s. fatal ( & err) ;
@@ -1148,7 +1148,7 @@ impl<'tcx> TyCtxt<'tcx> {
1148
1148
stability_interner : Default :: default ( ) ,
1149
1149
const_stability_interner : Default :: default ( ) ,
1150
1150
alloc_map : Lock :: new ( interpret:: AllocMap :: new ( ) ) ,
1151
- output_filenames : Arc :: new ( output_filenames. clone ( ) ) ,
1151
+ output_filenames : Arc :: new ( output_filenames) ,
1152
1152
}
1153
1153
}
1154
1154
You can’t perform that action at this time.
0 commit comments