This commit is contained in:
Oliver Schneider 2017-01-30 13:06:07 +01:00
parent c1cf5a2cde
commit c46178c518
No known key found for this signature in database
GPG key ID: A69F8D225B3AD7D9

View file

@ -575,7 +575,7 @@ pub fn span_lint_and_sugg<'a, 'tcx: 'a, T: LintContext<'tcx>>(
sp: Span,
msg: &str,
help: &str,
sugg: String,
sugg: String
) {
span_lint_and_then(cx, lint, sp, msg, |db| { db.span_suggestion(sp, help, sugg); });
}