Added feature gate, updated error messages and tests.

This commit is contained in:
Cameron Hart 2017-03-25 19:00:49 +11:00
parent 4358e35fda
commit 7971a47eff
11 changed files with 53 additions and 8 deletions

View file

@ -18,6 +18,7 @@
// aligned (while on most it is 8-byte aligned) and so the resulting
// padding and overall computed sizes can be quite different.
#![feature(attr_literals)]
#![feature(repr_align)]
#![allow(dead_code)]
#[repr(align(16))]