Skip to content

Commit af7709c

Browse files
committed
Merge rust-bitcoin/rust-miniscript#710: rustfmt: Use show_parse_errors
9e8505d8427446ef9fada457bce269635c1b23cf 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 9e8505d8427446ef9fada457bce269635c1b23cf apoelstra: ACK 9e8505d8427446ef9fada457bce269635c1b23cf Tree-SHA512: 36a89750e8759f23fe4c92bd6684f055c9f5c097d5e6365d1d296240d84ab2a2b21879dba286035d7533b197d9d88d8e006dc8b2d292d512ed77a58ddf294624
2 parents 2290f4e + 413175c commit af7709c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustfmt.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ color = "Auto"
6565
unstable_features = false
6666
disable_all_formatting = false
6767
skip_children = false
68-
hide_parse_errors = false
68+
show_parse_errors = true
6969
error_on_line_overflow = false
7070
error_on_unformatted = false
7171
ignore = []

0 commit comments

Comments
 (0)