This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -858,7 +858,7 @@ pub fn isolation_abort_error<'tcx>(name: &str) -> InterpResult<'tcx> {
858858
859859/// Retrieve the list of local crates that should have been passed by cargo-miri in
860860/// MIRI_LOCAL_CRATES and turn them into `CrateNum`s.
861- pub fn get_local_crates ( tcx : & TyCtxt < ' _ > ) -> Vec < CrateNum > {
861+ pub fn get_local_crates ( tcx : TyCtxt < ' _ > ) -> Vec < CrateNum > {
862862 // Convert the local crate names from the passed-in config into CrateNums so that they can
863863 // be looked up quickly during execution
864864 let local_crate_names = std:: env:: var ( "MIRI_LOCAL_CRATES" )
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ pub struct Evaluator<'mir, 'tcx> {
327327
328328impl < ' mir , ' tcx > Evaluator < ' mir , ' tcx > {
329329 pub ( crate ) fn new ( config : & MiriConfig , layout_cx : LayoutCx < ' tcx , TyCtxt < ' tcx > > ) -> Self {
330- let local_crates = helpers:: get_local_crates ( & layout_cx. tcx ) ;
330+ let local_crates = helpers:: get_local_crates ( layout_cx. tcx ) ;
331331 let layouts =
332332 PrimitiveLayouts :: new ( layout_cx) . expect ( "Couldn't get layouts of primitive types" ) ;
333333 let profiler = config. measureme_out . as_ref ( ) . map ( |out| {
You can’t perform that action at this time.
0 commit comments