diff --git a/src/librustc_errors/emitter.rs b/src/librustc_errors/emitter.rs index 7513a9203fe2..b8b7488d8ae4 100644 --- a/src/librustc_errors/emitter.rs +++ b/src/librustc_errors/emitter.rs @@ -1066,13 +1066,11 @@ impl EmitterWriter { let padding = " ".repeat(padding + label.len() + 5); /// Returns `true` if `style`, or the override if present and the style is `NoStyle`. - fn style_or_override(style: Style, override_style: Option