summaryrefslogtreecommitdiffstats
path: root/ffi-macros
diff options
context:
space:
mode:
Diffstat (limited to 'ffi-macros')
-rw-r--r--ffi-macros/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffi-macros/src/lib.rs b/ffi-macros/src/lib.rs
index 7bedb0ce..823798d9 100644
--- a/ffi-macros/src/lib.rs
+++ b/ffi-macros/src/lib.rs
@@ -311,7 +311,8 @@ fn derive_conversion_functions(st: &mut syn::ItemStruct, _: &str, _: &str,
if self.1 != #magic_value {
if self.1 == 0x5050505050505050 {
panic!(
- "FFI contract violation: Use-after-free detected");
+ "FFI contract violation: \
+ Use after move or use after free detected");
} else {
panic!(
"FFI contract violation: Wrong parameter type");