diff --git a/Configurations.md b/Configurations.md index b1baf487eaf..924757ed120 100644 --- a/Configurations.md +++ b/Configurations.md @@ -1260,7 +1260,7 @@ Show parse errors if the parser failed to parse files. - **Default value**: `true` - **Possible values**: `true`, `false` -- **Stable**: Yes +- **Stable**: No (tracking issue: [#5977](https://github.com/rust-lang/rustfmt/issues/5977)) ## `ignore` diff --git a/src/config/mod.rs b/src/config/mod.rs index da26ecbe2ad..1a618586d6d 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -170,7 +170,7 @@ create_config! { disable_all_formatting: bool, false, true, "Don't reformat anything"; skip_children: bool, false, false, "Don't reformat out of line modules"; hide_parse_errors: bool, false, false, "(deprecated: use show_parse_errors instead)"; - show_parse_errors: bool, true, true, "Show errors from the parser"; + show_parse_errors: bool, true, false, "Show errors from the parser (unstable)"; error_on_line_overflow: bool, false, false, "Error if unable to get all lines within max_width"; error_on_unformatted: bool, false, false, "Error if unable to get comments or string literals within max_width, \ @@ -461,8 +461,8 @@ mod test { // hide_parse_errors renamed to show_parse_errors hide_parse_errors: bool, false, false, "(deprecated: use show_parse_errors instead)"; - show_parse_errors: bool, true, true, - "Show errors from the parser"; + show_parse_errors: bool, true, false, + "Show errors from the parser (unstable)"; // Width Heuristics