remove FIXME cleared up in the PR
This commit is contained in:
parent
7b70f4fe2c
commit
055c1b14f7
@ -37,7 +37,6 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> {
|
||||
ty::TyRef(..) |
|
||||
ty::TyRawPtr(_) => Ok(Ptr(ptr)),
|
||||
ty::TyFnPtr(_) => Ok(FnPtr(ptr)),
|
||||
// FIXME: can truncation happen here?
|
||||
ty::TyInt(IntTy::I8) => Ok(I8(ptr.to_int()? as i8)),
|
||||
ty::TyInt(IntTy::I16) => Ok(I16(ptr.to_int()? as i16)),
|
||||
ty::TyInt(IntTy::I32) => Ok(I32(ptr.to_int()? as i32)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user