]> git.lizzy.rs Git - rust.git/commitdiff
rustc: Change a stray error! statement to debug!
authorTim Chevalier <chevalier@alum.wellesley.edu>
Wed, 28 Aug 2013 18:34:54 +0000 (11:34 -0700)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Fri, 30 Aug 2013 21:31:52 +0000 (14:31 -0700)
src/librustc/middle/kind.rs

index edea267d22686c70ed6d8e2388c7869c8463b9f9..2daa2bafaacec1488d5b09c372fd06476204b48b 100644 (file)
@@ -129,7 +129,7 @@ fn check_impl_of_trait(cx: Context, it: @item, trait_ref: &trait_ref, self_type:
 
     // If this trait has builtin-kind supertraits, meet them.
     let self_ty: ty::t = ty::node_id_to_type(cx.tcx, it.id);
-    error!("checking impl with self type %?", ty::get(self_ty).sty);
+    debug!("checking impl with self type %?", ty::get(self_ty).sty);
     do check_builtin_bounds(cx, self_ty, trait_def.bounds) |missing| {
         cx.tcx.sess.span_err(self_type.span,
             fmt!("the type `%s', which does not fulfill `%s`, cannot implement this \