File tree 2 files changed +2
-2
lines changed
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> {
858
858
859
859
/// Retrieve the list of local crates that should have been passed by cargo-miri in
860
860
/// 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 > {
862
862
// Convert the local crate names from the passed-in config into CrateNums so that they can
863
863
// be looked up quickly during execution
864
864
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> {
327
327
328
328
impl < ' mir , ' tcx > Evaluator < ' mir , ' tcx > {
329
329
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 ) ;
331
331
let layouts =
332
332
PrimitiveLayouts :: new ( layout_cx) . expect ( "Couldn't get layouts of primitive types" ) ;
333
333
let profiler = config. measureme_out . as_ref ( ) . map ( |out| {
You can’t perform that action at this time.
0 commit comments