Rustup to nightly from 2017-01-20
Adjust `multispan_sugg` to rust-lang/rust#38955
This commit is contained in:
parent
57d932062f
commit
6f103de164
@ -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 New Issue
Block a user