about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-04-29 20:50:04 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-04-29 20:50:04 -0700
commit14ca95066579f4ec3761fa171e9c9c6d7bd80ccb (patch)
treea0f63d44e3d0ac413d607c99fe79471d8855aa0e
parent693eea5784fc58e9d9a8cade7a5b2afa2f3dbd3e (diff)
downloadrust-14ca95066579f4ec3761fa171e9c9c6d7bd80ccb.tar.gz
rust-14ca95066579f4ec3761fa171e9c9c6d7bd80ccb.zip
Fix style
-rw-r--r--src/librustc_typeck/check/_match.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_typeck/check/_match.rs b/src/librustc_typeck/check/_match.rs
index 124afc5491e..88168a6950b 100644
--- a/src/librustc_typeck/check/_match.rs
+++ b/src/librustc_typeck/check/_match.rs
@@ -514,7 +514,7 @@ impl<'a, 'gcx, 'tcx> FnCtxt<'a, 'gcx, 'tcx> {
         err: &mut DiagnosticBuilder<'_>,
         pat: &Pat,
         inner: &Pat,
-        expected: &Ty<'tcx>,
+        expected: Ty<'tcx>,
     ) {
         let tcx = self.tcx;
         if let PatKind::Binding(..) = inner.node {