Rustup to nightly from 2017-01-20

Adjust `multispan_sugg` to rust-lang/rust#38955
This commit is contained in:
Pascal Hertleif 2017-01-21 17:20:01 +01:00
parent 57d932062f
commit 6f103de164

View file

@ -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),
};