]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/collect.rs
Auto merge of #32780 - soltanmm:consider-the-following, r=nikomatsakis
[rust.git] / src / librustc_typeck / collect.rs
index 95cb2269a1fef516b6ef11742e7bce1fa8cec239..2e9c8676dc7500b459cd27583377f2289af24a83 100644 (file)
@@ -449,6 +449,7 @@ fn get_type_parameter_bounds(&self,
                     ty::Predicate::RegionOutlives(..) |
                     ty::Predicate::WellFormed(..) |
                     ty::Predicate::ObjectSafe(..) |
+                    ty::Predicate::ClosureKind(..) |
                     ty::Predicate::Projection(..) => {
                         false
                     }