We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e827d78 commit bf41c18Copy full SHA for bf41c18
binding-generator/src/writer/rust_native/mod.rs
@@ -204,9 +204,7 @@ impl GeneratorVisitor<'_> for RustNativeBindingWriter<'_> {
204
}
205
Err(e) if e.kind() == ErrorKind::AlreadyExists => { /* expected, we need to exclusively create file */ }
206
Err(e) if e.kind() == ErrorKind::PermissionDenied => { /* happens sporadically on Windows */ }
207
- Err(e) => {
208
- panic!("Error while creating file for {typ} generated type: {e}")
209
- }
+ Err(e) => panic!("Error while creating file: {} for {typ} generated type: {e}", path.display()),
210
211
212
0 commit comments