Skip to content

Commit e2c3694

Browse files
committed
rustfmt: Use show_parse_errors
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`.
1 parent 0511f44 commit e2c3694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustfmt.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ color = "Auto"
7070
unstable_features = false
7171
disable_all_formatting = false
7272
skip_children = false
73-
hide_parse_errors = false
73+
show_parse_errors = true
7474
error_on_line_overflow = false
7575
error_on_unformatted = false
7676
emit_mode = "Files"

0 commit comments

Comments
 (0)