Auto merge of #3597 - xfix:match-ergonomics, r=phansch

Match ergonomics (lints from A to B)
This commit is contained in:
bors
2018-12-30 10:40:36 +00:00
7 changed files with 56 additions and 56 deletions

View File

@@ -73,7 +73,7 @@ impl LintPass for Pass {
impl<'a, 'tcx> LateLintPass<'a, 'tcx> for Pass {
fn check_expr(&mut self, cx: &LateContext<'a, 'tcx>, e: &'tcx Expr) {
if let ExprKind::Lit(ref lit) = e.node {
if let ExprKind::Lit(lit) = &e.node {
check_lit(cx, lit, e);
}
}