]> git.proxmox.com Git - rustc.git/blobdiff - src/librustc/infer/glb.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / librustc / infer / glb.rs
index 5dd85a31a9a2087effd0487c3e1393c0b058107c..a5709e1880801d8942d87f909a1de2d46e301308 100644 (file)
@@ -57,7 +57,8 @@ impl<'combine, 'infcx, 'gcx, 'tcx> TypeRelation<'infcx, 'gcx, 'tcx>
         lattice::super_lattice_tys(self, a, b)
     }
 
-    fn regions(&mut self, a: ty::Region, b: ty::Region) -> RelateResult<'tcx, ty::Region> {
+    fn regions(&mut self, a: &'tcx ty::Region, b: &'tcx ty::Region)
+               -> RelateResult<'tcx, &'tcx ty::Region> {
         debug!("{}.regions({:?}, {:?})",
                self.tag(),
                a,