1
Fork 0

Fix tidy errors

This commit is contained in:
John Kåre Alsaker 2017-07-15 21:28:42 +02:00
parent 3fdc3fa1ec
commit f5ec50358a
3 changed files with 13 additions and 9 deletions

View file

@ -719,7 +719,11 @@ impl<'a, 'tcx> BorrowckCtxt<'a, 'tcx> {
let mut db = match err.cause {
MutabilityViolation => {
struct_span_err!(self.tcx.sess, error_span, E0594, "cannot assign to {}", descr)
struct_span_err!(self.tcx.sess,
error_span,
E0594,
"cannot assign to {}",
descr)
}
BorrowViolation(euv::ClosureCapture(_)) => {
struct_span_err!(self.tcx.sess, error_span, E0595,