]> git.lizzy.rs Git - rust.git/commit
Implementation of `#[repr(packed(n))]` RFC 1399.
authorCameron Hart <cameron.hart@gmail.com>
Sun, 4 Feb 2018 11:10:28 +0000 (22:10 +1100)
committerCameron Hart <cameron.hart@gmail.com>
Wed, 11 Apr 2018 12:13:13 +0000 (22:13 +1000)
commit15d1c4d2139611fcb87a2c802bd015b5f4f0aed8
tree5822428a8e6a8ef94f13ea80f22d8ec01545f33b
parentca26ef321c44358404ef788d315c4557eb015fb2
Implementation of `#[repr(packed(n))]` RFC 1399.
26 files changed:
src/doc/unstable-book/src/language-features/repr-packed.md [new file with mode: 0644]
src/librustc/session/code_stats.rs
src/librustc/ty/layout.rs
src/librustc/ty/mod.rs
src/librustc_typeck/check/mod.rs
src/librustc_typeck/diagnostics.rs
src/libsyntax/attr.rs
src/libsyntax/feature_gate.rs
src/libsyntax_ext/deriving/generic/mod.rs
src/test/codegen/packed.rs
src/test/compile-fail/conflicting-repr-hints.rs
src/test/run-pass/align-struct.rs
src/test/run-pass/auxiliary/packed.rs
src/test/run-pass/issue-48159.rs [new file with mode: 0644]
src/test/run-pass/packed-struct-borrow-element.rs
src/test/run-pass/packed-struct-generic-size.rs
src/test/run-pass/packed-struct-match.rs
src/test/run-pass/packed-struct-size-xc.rs
src/test/run-pass/packed-struct-size.rs
src/test/run-pass/packed-struct-vec.rs
src/test/run-pass/packed-tuple-struct-size.rs
src/test/run-pass/union/union-packed.rs
src/test/ui/feature-gate-repr_packed.rs [new file with mode: 0644]
src/test/ui/feature-gate-repr_packed.stderr [new file with mode: 0644]
src/test/ui/print_type_sizes/packed.rs
src/test/ui/print_type_sizes/packed.stdout