diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-15 15:52:58 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-16 09:15:51 -0700 |
| commit | 6959b4f7b07e5d78e37092489868fb17c4d7c36e (patch) | |
| tree | afa231e8e80e2d3adb77267ff0ad937109c11b97 | |
| parent | bbd034c3a6e0325da0cb743cab007d69a736557a (diff) | |
| download | rust-6959b4f7b07e5d78e37092489868fb17c4d7c36e.tar.gz rust-6959b4f7b07e5d78e37092489868fb17c4d7c36e.zip | |
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
| -rw-r--r-- | src/librustc/middle/resolve.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/middle/resolve.rs b/src/librustc/middle/resolve.rs index 471e290d914..e80694905d9 100644 --- a/src/librustc/middle/resolve.rs +++ b/src/librustc/middle/resolve.rs @@ -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; } |
