about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-05-20 23:03:07 +0200
committerGitHub <noreply@github.com>2019-05-20 23:03:07 +0200
commit581cf70367d89af738a4f6be5eda8b7f157de25e (patch)
tree34d1b91dd649005d18e03c5e7dc11502ee49f176 /src/test/ui/thinlto
parent864e7a9251057ba31e4f316d459ad6a1dc48baab (diff)
parent88fa5c6a45a533a78c698a22f4b16002a3bc9fc3 (diff)
downloadrust-581cf70367d89af738a4f6be5eda8b7f157de25e.tar.gz
rust-581cf70367d89af738a4f6be5eda8b7f157de25e.zip
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]`
```
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions