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/struct_layout.rs | |
parent | 3e2566d6a76a25da6ac25a99ca30f8c8b45350c8 (diff) |
Change non-fatal errors to warnings
Diffstat (limited to 'src/codegen/struct_layout.rs')
-rw-r--r-- | src/codegen/struct_layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/struct_layout.rs b/src/codegen/struct_layout.rs index 900f2586..54dfd86e 100644 --- a/src/codegen/struct_layout.rs +++ b/src/codegen/struct_layout.rs @@ -248,7 +248,7 @@ impl<'a> StructLayoutTracker<'a> { ); if layout.size < self.latest_offset { - error!( + warn!( "Calculated wrong layout for {}, too more {} bytes", self.name, self.latest_offset - layout.size |