Skip to content

Commit 0a4f3c4

Browse files
committed
remove human-annotate-rs
1 parent 6cdb824 commit 0a4f3c4

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

compiler/rustc_session/src/config.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2027,10 +2027,6 @@ pub fn parse_error_format(
20272027
None | Some("human") => {
20282028
ErrorOutputType::HumanReadable { color_config, kind: default_kind }
20292029
}
2030-
Some("human-annotate-rs") => ErrorOutputType::HumanReadable {
2031-
kind: HumanReadableErrorType { short: false, unicode: false },
2032-
color_config,
2033-
},
20342030
Some("json") => {
20352031
ErrorOutputType::Json { pretty: false, json_rendered, color_config: json_color }
20362032
}
@@ -2051,8 +2047,8 @@ pub fn parse_error_format(
20512047
kind: default_kind,
20522048
});
20532049
early_dcx.early_fatal(format!(
2054-
"argument for `--error-format` must be `human`, `human-annotate-rs`, \
2055-
`human-unicode`, `json`, `pretty-json` or `short` (instead was `{arg}`)"
2050+
"argument for `--error-format` must be `human`, `human-unicode`, \
2051+
`json`, `pretty-json` or `short` (instead was `{arg}`)"
20562052
))
20572053
}
20582054
}
@@ -2114,7 +2110,6 @@ fn check_error_format_stability(
21142110
let format = match format {
21152111
ErrorOutputType::Json { pretty: true, .. } => "pretty-json",
21162112
ErrorOutputType::HumanReadable { kind, .. } => match kind {
2117-
HumanReadableErrorType { unicode: false, .. } => "human-annotate-rs",
21182113
HumanReadableErrorType { unicode: true, .. } => "human-unicode",
21192114
_ => return,
21202115
},

0 commit comments

Comments
 (0)