]> git.lizzy.rs Git - rust.git/commit
Move variant_size_differences out of trans
authorJonas Schievink <jonas@schievink.net>
Thu, 2 Jun 2016 21:43:16 +0000 (23:43 +0200)
committerJonas Schievink <jonas@schievink.net>
Sun, 10 Jul 2016 20:12:31 +0000 (22:12 +0200)
commitf5d29a3b594719d0303bdffccb8470ebb10b0d3e
treeb3f7b3f4092f40cbad92fc0558a5fe93394c347e
parent6871b3f240a800650f544892e75dc5e8fb47bc5b
Move variant_size_differences out of trans

Also enhances the error message a bit, fixes #30505 on the way, and adds
a test (which was missing).

Closes #34018
src/librustc/lint/builtin.rs
src/librustc/lint/context.rs
src/librustc/lint/mod.rs
src/librustc/session/config.rs
src/librustc/session/mod.rs
src/librustc_lint/lib.rs
src/librustc_lint/types.rs
src/librustc_trans/base.rs
src/librustc_trans/context.rs
src/librustc_trans/trans_item.rs
src/test/compile-fail/variant-size-differences.rs [new file with mode: 0644]