Skip to content

Commit

Permalink
fixed configuration test
Browse files Browse the repository at this point in the history
  • Loading branch information
llesha committed Nov 10, 2023
1 parent 81cdc9d commit c961a8d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion Configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -1248,12 +1248,20 @@ Control the case of the letters in hexadecimal literal values

## `hide_parse_errors`

Do not show parse errors if the parser failed to parse files.
This option is deprecated. Use `show_parse_errors` instead.

- **Default value**: `false`
- **Possible values**: `true`, `false`
- **Stable**: No (tracking issue: [#3390](https://github.com/rust-lang/rustfmt/issues/3390))

## `show_parse_errors`

Show parse errors if the parser failed to parse files.

- **Default value**: `true`
- **Possible values**: `true`, `false`
- **Stable**: Yes

## `ignore`

Skip formatting files and directories that match the specified pattern.
Expand Down
2 changes: 1 addition & 1 deletion src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,8 @@ required_version = "{}"
unstable_features = false
disable_all_formatting = false
skip_children = false
hide_parse_errors = false
show_parse_errors = true
hide_parse_errors = false
error_on_line_overflow = false
error_on_unformatted = false
ignore = []
Expand Down

0 comments on commit c961a8d

Please sign in to comment.