auto merge of #14239 : alexcrichton/rust/issue-14225, r=huonw

These are taken care of with compiler errors later on, no need to spam with
extra unformatted information unconditionally.

Closes #14225
This commit is contained in:
bors 2014-05-17 01:01:22 -07:00
commit 8befaba9ef

View File

@ -2996,7 +2996,7 @@ impl<'a> Resolver<'a> {
Some(ref type_def) => { Some(ref type_def) => {
match type_def.module_def { match type_def.module_def {
None => { None => {
error!("!!! (resolving module in lexical \ debug!("!!! (resolving module in lexical \
scope) module wasn't actually a \ scope) module wasn't actually a \
module!"); module!");
return Failed; return Failed;
@ -3007,7 +3007,7 @@ impl<'a> Resolver<'a> {
} }
} }
None => { None => {
error!("!!! (resolving module in lexical scope) module debug!("!!! (resolving module in lexical scope) module
wasn't actually a module!"); wasn't actually a module!");
return Failed; return Failed;
} }