Skip to content

Commit

Permalink
Merge #13: rustfmt: Use show_parse_errors
Browse files Browse the repository at this point in the history
11ea60b rustfmt: Use show_parse_errors (Jamil Lambert, PhD)

Pull request description:

  Following on from the [comment in rust-bitcoin #3006](rust-bitcoin/rust-bitcoin#3006 (comment)),
  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`.

ACKs for top commit:
  tcharding:
    ACK 11ea60b

Tree-SHA512: 9ff306f5370562467a89b1660ec5f9414d1dc5d394d584be246fa8d2fa10c2d356c8a5a99e1f83ef34d057bf9cb00c3694e191621157e8ede89d713ea4292d30
  • Loading branch information
tcharding committed Dec 29, 2024
2 parents 9840ef6 + 11ea60b commit 0c4b4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,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
ignore = []
Expand Down

0 comments on commit 0c4b4e9

Please sign in to comment.