summaryrefslogtreecommitdiff
path: root/src/codegen/impl_debug.rs
diff options
context:
space:
mode:
authorTed Mielczarek <ted@mielczarek.org>2019-01-25 11:57:34 -0500
committerTed Mielczarek <ted@mielczarek.org>2019-01-25 12:03:22 -0500
commit4697025c25dbab8029e1fb36280ad46c88b1ad73 (patch)
tree4f0ee222ee8dface9079d5bf73c5db6a90061e2b /src/codegen/impl_debug.rs
parent22194a000ac877c9a29096cffd215e52a06a6b40 (diff)
Produce a more useful error message when rustfmt can't be found. Fixes #1205
Prior to this change bindgen would simply print any error that occurred while attempting to run rustfmt straight to stderr using fmt::Debug. Combined with the fact that rustfmt is enabled by default now this meant that if rustfmt was missing or not working a cryptic error would be printed.
Diffstat (limited to 'src/codegen/impl_debug.rs')
0 files changed, 0 insertions, 0 deletions