mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 05:03:21 +00:00
Rustup to nightly from 2017-01-20
Adjust `multispan_sugg` to rust-lang/rust#38955
This commit is contained in:
parent
57d932062f
commit
6f103de164
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ pub fn multispan_sugg(db: &mut DiagnosticBuilder, help_msg: String, sugg: &[(Spa
|
|||
|
||||
let sub = rustc_errors::SubDiagnostic {
|
||||
level: rustc_errors::Level::Help,
|
||||
message: help_msg,
|
||||
message: vec![(help_msg, rustc_errors::snippet::Style::LabelPrimary)],
|
||||
span: MultiSpan::new(),
|
||||
render_span: Some(sugg),
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue