Rollup merge of #128806 - estebank:color-config, r=jieyouxu
Split `ColorConfig` off of `HumanReadableErrorType` The previous setup tied two unrelated things together. Splitting these two is a better model. Identified by https://github.com/rust-lang/rust/pull/126597/files#r1667800754
This commit is contained in:
@@ -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| {
|
||||
|
||||
Reference in New Issue
Block a user