Skip to content

Commit 45bb227

Browse files
committed
Merge #188: rustfmt: Use show_parse_errors
77a5d0e 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 77a5d0e clarkmoody: ACK 77a5d0e apoelstra: ACK 77a5d0e Tree-SHA512: 46ad0450fc857e19c0d5423e81a4cf1d095906ad06bc72f762f9c700436bd03afb6188d0c91ed0d0e088645969b3528841aed84b13f622c5032d8fa294b6714e
2 parents 86f7dc0 + 77a5d0e commit 45bb227

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
@@ -71,7 +71,7 @@ color = "Auto"
7171
unstable_features = false
7272
disable_all_formatting = false
7373
skip_children = false
74-
hide_parse_errors = false
74+
show_parse_errors = true
7575
error_on_line_overflow = false
7676
error_on_unformatted = false
7777
emit_mode = "Files"

0 commit comments

Comments
 (0)