Skip to content

Commit 71135c2

Browse files
committed
debug fix
1 parent 7d262ea commit 71135c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/ty/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pub fn test2<'tcx>(tcx: TyCtxt<'_, 'tcx, 'tcx>) -> Bx<'tcx, u32> {
135135

136136
#[no_mangle]
137137
pub fn test3<'tcx>(
138-
allocs: &mut DeferredDeallocs, ptr: std::ptr::NonNull<u8>,
138+
allocs: &mut DeferredDeallocs, ptr: std::ptr::NonNull<u8>,
139139
layout: std::alloc::Layout) {
140140
allocs.add(ptr, layout);
141141
}
@@ -148,7 +148,7 @@ pub fn test4<'tcx>(
148148

149149
#[no_mangle]
150150
pub fn test5<'tcx>(
151-
allocs: &rustc_data_structures::sync::WorkerLocal<RefCell<DeferredDeallocs>>,
151+
allocs: &rustc_data_structures::sync::WorkerLocal<RefCell<DeferredDeallocs>>,
152152
vec: &Vec<u32>) {
153153
vec.defer(&mut *allocs.borrow_mut());
154154
}

0 commit comments

Comments
 (0)