Skip to content

Commit 6f103de

Browse files
committed
Rustup to nightly from 2017-01-20
Adjust `multispan_sugg` to rust-lang/rust#38955
1 parent 57d9320 commit 6f103de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ pub fn multispan_sugg(db: &mut DiagnosticBuilder, help_msg: String, sugg: &[(Spa
576576

577577
let sub = rustc_errors::SubDiagnostic {
578578
level: rustc_errors::Level::Help,
579-
message: help_msg,
579+
message: vec![(help_msg, rustc_errors::snippet::Style::LabelPrimary)],
580580
span: MultiSpan::new(),
581581
render_span: Some(sugg),
582582
};

0 commit comments

Comments
 (0)