@@ -244,7 +244,7 @@ impl<'tcx> Stack {
244244 fn item_invalidated (
245245 item : & Item ,
246246 global : & GlobalStateInner ,
247- dcx : & mut DiagnosticCx < ' _ , ' _ , ' _ , ' tcx > ,
247+ dcx : & DiagnosticCx < ' _ , ' _ , ' _ , ' tcx > ,
248248 cause : ItemInvalidationCause ,
249249 ) -> InterpResult < ' tcx > {
250250 if !global. tracked_pointer_tags . is_empty ( ) {
@@ -575,7 +575,7 @@ impl Stacks {
575575 alloc_id : AllocId ,
576576 tag : ProvenanceExtra ,
577577 range : AllocRange ,
578- machine : & mut MiriMachine < ' _ , ' tcx > ,
578+ machine : & MiriMachine < ' _ , ' tcx > ,
579579 ) -> InterpResult < ' tcx > {
580580 trace ! (
581581 "write access with tag {:?}: {:?}, size {}" ,
@@ -596,7 +596,7 @@ impl Stacks {
596596 alloc_id : AllocId ,
597597 tag : ProvenanceExtra ,
598598 range : AllocRange ,
599- machine : & mut MiriMachine < ' _ , ' tcx > ,
599+ machine : & MiriMachine < ' _ , ' tcx > ,
600600 ) -> InterpResult < ' tcx > {
601601 trace ! ( "deallocation with tag {:?}: {:?}, size {}" , tag, alloc_id, range. size. bytes( ) ) ;
602602 let dcx = DiagnosticCxBuilder :: dealloc ( machine, tag) ;
0 commit comments