This commit is contained in:
Ralf Jung
2018-10-03 08:45:16 +02:00
parent 654d9ff618
commit 9bb4bcd770
+1 -1
View File
@@ -180,7 +180,7 @@ fn validate_scalar_type(
scalar_format(value), path, "a pointer");
let _fn = try_validation!(self.memory.get_fn(ptr),
scalar_format(value), path, "a function pointer");
// TODO: Check if the signature matches
// FIXME: Check if the signature matches
}
ty::FnDef(..) => {
// This is a zero-sized type with all relevant data sitting in the type.