diff --git a/crates/wasmparser/src/validator.rs b/crates/wasmparser/src/validator.rs index 915c900aed..23c1899be4 100644 --- a/crates/wasmparser/src/validator.rs +++ b/crates/wasmparser/src/validator.rs @@ -358,7 +358,7 @@ impl WasmFeatures { if self.exceptions { Ok(()) } else { - Err("heap types not supported without the gc feature") + Err("exception refs not supported without the exception handling feature") } } }