mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue