Merge rust-bitcoin/rust-bitcoin#3006: rustfmt: Use `show_parse_errors`
e2c3694184
rustfmt: Use show_parse_errors (Tobin C. Harding) Pull request description: There are no behaviour changes with this patch applied. In https://github.com/rust-lang/rustfmt/pull/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`. ACKs for top commit: Kixunil: ACKe2c3694184
storopoli: ACKe2c3694184
apoelstra: ACKe2c3694184
Tree-SHA512: f75f3abf194d65e0ef2a1bef2544bc94ed1c4911b94cbc6bc5700ecb8e6ec87c5564b9711a7dde8ca1a83400e1bf3154d25574a485e9893049be0a46f2c95e33
This commit is contained in:
commit
beab1dd724
|
@ -70,7 +70,7 @@ color = "Auto"
|
|||
unstable_features = false
|
||||
disable_all_formatting = false
|
||||
skip_children = false
|
||||
hide_parse_errors = false
|
||||
show_parse_errors = true
|
||||
error_on_line_overflow = false
|
||||
error_on_unformatted = false
|
||||
emit_mode = "Files"
|
||||
|
|
Loading…
Reference in New Issue