]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/check/wfcheck.rs
bring Ty into scope
[rust.git] / src / librustc_typeck / check / wfcheck.rs
index 9c19aef5992e698bd324f5e56199200eacee4de3..f17df8b22f3934e0c4943524d1d73148bf083bac 100644 (file)
@@ -449,7 +449,7 @@ fn check_method_receiver<'fcx, 'tcx>(&mut self,
                                          fcx: &FnCtxt<'fcx, 'gcx, 'tcx>,
                                          method_sig: &hir::MethodSig,
                                          method: &ty::AssociatedItem,
-                                         self_ty: ty::Ty<'tcx>)
+                                         self_ty: Ty<'tcx>)
     {
         // check that the type of the method's receiver matches the
         // method's first parameter.