]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/ty/error.rs
Move `BoundTy` to `ty::TyKind`
[rust.git] / src / librustc / ty / error.rs
index 855983042c026cec3b38f9d37029e052c0b3c72b..4737c72b1ef0f75bcc2c0ca382ef69c4b769ea54 100644 (file)
@@ -212,7 +212,7 @@ pub fn sort_string(&self, tcx: TyCtxt<'a, 'gcx, 'lcx>) -> Cow<'static, str> {
             ty::Infer(ty::TyVar(_)) => "inferred type".into(),
             ty::Infer(ty::IntVar(_)) => "integral variable".into(),
             ty::Infer(ty::FloatVar(_)) => "floating-point variable".into(),
-            ty::Infer(ty::BoundTy(_)) |
+            ty::Bound(_) |
             ty::Infer(ty::FreshTy(_)) => "fresh type".into(),
             ty::Infer(ty::FreshIntTy(_)) => "fresh integral type".into(),
             ty::Infer(ty::FreshFloatTy(_)) => "fresh floating-point type".into(),