Split ColorConfig
off of HumanReadableErrorType
The previous setup tied two unrelated things together. Splitting these two is a better model.
This commit is contained in:
parent
ce20e15f01
commit
ae696f847d
9 changed files with 62 additions and 54 deletions
|
@ -315,7 +315,8 @@ fn test_search_paths_tracking_hash_different_order() {
|
|||
let early_dcx = EarlyDiagCtxt::new(JSON);
|
||||
const JSON: ErrorOutputType = ErrorOutputType::Json {
|
||||
pretty: false,
|
||||
json_rendered: HumanReadableErrorType::Default(ColorConfig::Never),
|
||||
json_rendered: HumanReadableErrorType::Default,
|
||||
color_config: ColorConfig::Never,
|
||||
};
|
||||
|
||||
let push = |opts: &mut Options, search_path| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue