Skip to content

Commit

Permalink
Rustup to nightly from 2017-01-20
Browse files Browse the repository at this point in the history
Adjust `multispan_sugg` to rust-lang/rust#38955
  • Loading branch information
killercup committed Jan 21, 2017
1 parent 57d9320 commit 6f103de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};
Expand Down

0 comments on commit 6f103de

Please sign in to comment.