From: Mazdak Farrokhzad Date: Mon, 20 May 2019 21:03:07 +0000 (+0200) Subject: Rollup merge of #60959 - petrochenkov:sassert, r=estebank X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=581cf70367d89af738a4f6be5eda8b7f157de25e;p=rust.git Rollup merge of #60959 - petrochenkov:sassert, r=estebank rustc: Improve type size assertions Now they - Tell what the new size is, when it changes - Do not require passing an identifier ``` ::: src\libsyntax\parse\token.rs:223:1 | 223 | static_assert_size!(Token, 123); | -------------------------------- in this macro invocation | = note: expected type `[(); 123]` found type `[(); 16]` ``` --- 581cf70367d89af738a4f6be5eda8b7f157de25e