diff --git a/src/librustc/middle/resolve.rs b/src/librustc/middle/resolve.rs index a83d22e5162af..ab162d02c8443 100644 --- a/src/librustc/middle/resolve.rs +++ b/src/librustc/middle/resolve.rs @@ -2996,7 +2996,7 @@ impl<'a> Resolver<'a> { Some(ref type_def) => { match type_def.module_def { None => { - error!("!!! (resolving module in lexical \ + debug!("!!! (resolving module in lexical \ scope) module wasn't actually a \ module!"); return Failed; @@ -3007,7 +3007,7 @@ impl<'a> Resolver<'a> { } } None => { - error!("!!! (resolving module in lexical scope) module + debug!("!!! (resolving module in lexical scope) module wasn't actually a module!"); return Failed; }