]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_traits/src/dropck_outlives.rs
New upstream version 1.50.0+dfsg1
[rustc.git] / compiler / rustc_traits / src / dropck_outlives.rs
index 6cffa6d02a4e378754623691b2007cb7afc9bbfe..2827163d854d5d5b83121a4f2fb2f295c5e72f3c 100644 (file)
@@ -106,7 +106,7 @@ fn dropck_outlives<'tcx>(
                 // do not themselves define a destructor", more or less. We have
                 // to push them onto the stack to be expanded.
                 for ty in constraints.dtorck_types.drain(..) {
-                    match infcx.at(&cause, param_env).normalize(&ty) {
+                    match infcx.at(&cause, param_env).normalize(ty) {
                         Ok(Normalized { value: ty, obligations }) => {
                             fulfill_cx.register_predicate_obligations(infcx, obligations);