rustfmt: Use show_parse_errors

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`.
This commit is contained in:
Tobin C. Harding 2024-07-11 11:24:31 +10:00
parent 0511f44d99
commit e2c3694184
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ color = "Auto"
unstable_features = false unstable_features = false
disable_all_formatting = false disable_all_formatting = false
skip_children = false skip_children = false
hide_parse_errors = false show_parse_errors = true
error_on_line_overflow = false error_on_line_overflow = false
error_on_unformatted = false error_on_unformatted = false
emit_mode = "Files" emit_mode = "Files"