rust-bitcoin / rust-bech32

Bech32 format encoding and decoding
MIT License
93 stars 49 forks source link

rustfmt: Use show_parse_errors #188

Closed jamillambert closed 1 month ago

jamillambert commented 1 month ago

Following on from the comment in rust-bitcoin #3006, Quoting tcharding (link removed to prevent spamming rustfmt PR):

There are no behaviour changes with this patch applied.

In rust-lang/rustfmt 5961 the hide_parse_errors was changed to show_parse_errors with default true.

Since we run the formatter with nightly we are getting the following warning

Warning: the hide_parse_errors option is deprecated. Use show_parse_errors instead

Rename the variable and keep the default value true.