]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/ty/outlives.rs
Move `BoundTy` to `ty::TyKind`
[rust.git] / src / librustc / ty / outlives.rs
index b49664b6247332a16e7c799a43428ad2fd6bd8ac..4c820447be234a7eb14f58341cc418759ad00e54 100644 (file)
@@ -156,6 +156,7 @@ fn compute_components(&self, ty: Ty<'tcx>, out: &mut Vec<Component<'tcx>>) {
             ty::FnDef(..) |       // OutlivesFunction (*)
             ty::FnPtr(_) |        // OutlivesFunction (*)
             ty::Dynamic(..) |       // OutlivesObject, OutlivesFragment (*)
+            ty::Bound(..) |
             ty::Error => {
                 // (*) Bare functions and traits are both binders. In the
                 // RFC, this means we would add the bound regions to the