Skip to content

Commit 2ba76df

Browse files
committed
miri: fix build
It's unclear why this change in miri is necessary.
1 parent 73baae6 commit 2ba76df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/src/shims/native_lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use libffi::high::call as ffi;
55
use libffi::low::CodePtr;
66
use rustc_abi::{BackendRepr, HasDataLayout, Size};
77
use rustc_middle::mir::interpret::Pointer;
8-
use rustc_middle::ty::{self as ty, IntTy, UintTy};
8+
use rustc_middle::ty::{self as ty, inherent::SliceLike, IntTy, UintTy};
99
use rustc_span::Symbol;
1010

1111
use crate::*;

0 commit comments

Comments
 (0)