diff options
author | leo60228 <leo@60228.dev> | 2020-07-21 09:30:01 -0400 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-07-21 19:02:43 +0200 |
commit | 94bce1610a649d80016b6a3443e38eb7d45c387e (patch) | |
tree | 57b81c7194d5a91145ba13359c4a3c94c6c532ff /src/codegen/mod.rs | |
parent | 3e2566d6a76a25da6ac25a99ca30f8c8b45350c8 (diff) |
Change non-fatal errors to warnings
Diffstat (limited to 'src/codegen/mod.rs')
-rw-r--r-- | src/codegen/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codegen/mod.rs b/src/codegen/mod.rs index 026c2ff9..c68eb6da 100644 --- a/src/codegen/mod.rs +++ b/src/codegen/mod.rs @@ -449,7 +449,7 @@ impl CodeGenerator for Item { // TODO(emilio, #453): Figure out what to do when this happens // legitimately, we could track the opaque stuff and disable the // assertion there I guess. - error!("Found non-whitelisted item in code generation: {:?}", self); + warn!("Found non-whitelisted item in code generation: {:?}", self); } result.set_seen(self.id()); @@ -3938,7 +3938,7 @@ pub(crate) fn codegen( "Your dot file was generated successfully into: {}", path ), - Err(e) => error!("{}", e), + Err(e) => warn!("{}", e), } } |