| commit | c8870b82954fd5535fbecf4cde6a0f279fd25eae | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Wed Sep 09 08:44:33 2020 -0700 |
| committer | David Tolnay <dtolnay@gmail.com> | Wed Sep 09 08:44:39 2020 -0700 |
| tree | c1489c061a6e9374d489db69a818c2a8d8f74e49 | |
| parent | c4ff07b964844bc081d3b630a15fcb3fcaa519d5 [diff] [blame] |
Add missing dependencies of Error
diff --git a/gen/src/write.rs b/gen/src/write.rs index 68d8775..8cc1b1b 100644 --- a/gen/src/write.rs +++ b/gen/src/write.rs
@@ -214,6 +214,8 @@ Api::RustFunction(efn) if !out.header => { if efn.throws { out.include.exception = true; + out.include.string = true; + needs_rust_str = true; needs_rust_error = true; } for arg in &efn.args {