Remove a bool
for color in favor of the WriteColor
trait wrapping colored and uncolored printing
This commit is contained in:
parent
9a0af82781
commit
084c90a305
@ -719,7 +719,6 @@ fn check_code(cx: &LateContext<'_>, text: &str, edition: Edition, span: Span) {
|
||||
let emitter = EmitterWriter::new(
|
||||
Box::new(io::sink()),
|
||||
fallback_bundle,
|
||||
false,
|
||||
);
|
||||
let handler = Handler::with_emitter(Box::new(emitter)).disable_warnings();
|
||||
let sess = ParseSess::with_span_handler(handler, sm);
|
||||
|
Loading…
x
Reference in New Issue
Block a user