| commit | 9fe5ea3ad742ab7d465adb16e4cc52febc939c61 | [log] [tgz] |
|---|---|---|
| author | Joel Galenson <jgalenson@google.com> | Mon May 04 20:25:15 2020 -0700 |
| committer | Joel Galenson <jgalenson@google.com> | Mon May 04 20:25:15 2020 -0700 |
| tree | efbe90aa448eb7035032858b86b4bab7a40353d0 | |
| parent | 0f654ffeb0037fba4aadaa098e163434406a3fd5 [diff] [blame] |
Add missing message.
diff --git a/gen/src/write.rs b/gen/src/write.rs index 70620ce..3c059a7 100644 --- a/gen/src/write.rs +++ b/gen/src/write.rs
@@ -380,7 +380,7 @@ fn check_enum(out: &mut OutFile, enm: &Enum) { writeln!( out, - "static_assert(sizeof({}) == sizeof(uint32_t));", + "static_assert(sizeof({}) == sizeof(uint32_t), \"incorrect size\");", enm.ident ); let mut prev_discriminant = None;