]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/traits/structural_impls.rs
add Subtype predicate
[rust.git] / src / librustc / traits / structural_impls.rs
index 44ef461327ddbf868837dd5b2b00559a3af4528e..fcaa29be9632c21d1f56e78c8630a95edc2fba77 100644 (file)
@@ -130,6 +130,7 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         match *self {
             super::CodeSelectionError(ref e) => write!(f, "{:?}", e),
             super::CodeProjectionError(ref e) => write!(f, "{:?}", e),
+            super::CodeSubtypeError(ref a, ref b) => write!(f, "CodeSubtypeError({:?}, {:?})", a, b),
             super::CodeAmbiguity => write!(f, "Ambiguity")
         }
     }