rustc: Stop calling error! in resolve

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:
Alex Crichton 2014-05-15 15:52:58 -07:00
parent bbd034c3a6
commit 6959b4f7b0

View File

@ -2993,7 +2993,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;
@ -3004,7 +3004,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;
}