diff options
Diffstat (limited to 'vendor/wasm-bindgen/src/closure.rs')
-rw-r--r-- | vendor/wasm-bindgen/src/closure.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/wasm-bindgen/src/closure.rs b/vendor/wasm-bindgen/src/closure.rs index 37cef06dc..c8d2ba225 100644 --- a/vendor/wasm-bindgen/src/closure.rs +++ b/vendor/wasm-bindgen/src/closure.rs @@ -571,7 +571,7 @@ macro_rules! doit { $($var: <$var as FromWasmAbi>::Abi),* ) -> <R as ReturnWasmAbi>::Abi { if a == 0 { - throw_str("closure invoked recursively or destroyed already"); + throw_str("closure invoked after being dropped"); } // Make sure all stack variables are converted before we // convert `ret` as it may throw (for `Result`, for @@ -623,7 +623,7 @@ macro_rules! doit { $($var: <$var as FromWasmAbi>::Abi),* ) -> <R as ReturnWasmAbi>::Abi { if a == 0 { - throw_str("closure invoked recursively or destroyed already"); + throw_str("closure invoked recursively or after being dropped"); } // Make sure all stack variables are converted before we // convert `ret` as it may throw (for `Result`, for @@ -759,7 +759,7 @@ where arg: <A as RefFromWasmAbi>::Abi, ) -> <R as ReturnWasmAbi>::Abi { if a == 0 { - throw_str("closure invoked recursively or destroyed already"); + throw_str("closure invoked after being dropped"); } // Make sure all stack variables are converted before we // convert `ret` as it may throw (for `Result`, for @@ -802,7 +802,7 @@ where arg: <A as RefFromWasmAbi>::Abi, ) -> <R as ReturnWasmAbi>::Abi { if a == 0 { - throw_str("closure invoked recursively or destroyed already"); + throw_str("closure invoked recursively or after being dropped"); } // Make sure all stack variables are converted before we // convert `ret` as it may throw (for `Result`, for |