tidy up
This commit is contained in:
parent
654d9ff618
commit
9bb4bcd770
|
@ -180,7 +180,7 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M>
|
||||||
scalar_format(value), path, "a pointer");
|
scalar_format(value), path, "a pointer");
|
||||||
let _fn = try_validation!(self.memory.get_fn(ptr),
|
let _fn = try_validation!(self.memory.get_fn(ptr),
|
||||||
scalar_format(value), path, "a function pointer");
|
scalar_format(value), path, "a function pointer");
|
||||||
// TODO: Check if the signature matches
|
// FIXME: Check if the signature matches
|
||||||
}
|
}
|
||||||
ty::FnDef(..) => {
|
ty::FnDef(..) => {
|
||||||
// This is a zero-sized type with all relevant data sitting in the type.
|
// This is a zero-sized type with all relevant data sitting in the type.
|
||||||
|
|
Loading…
Reference in New Issue