diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-25 16:59:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-25 16:59:26 +0100 |
| commit | 7779bb9907c0a9f237bb99e5384c73ede9d0ba6e (patch) | |
| tree | dcce9d65039b6035132d2b466b5cccfa87c9cec4 /src/libsyntax | |
| parent | ef5a5bab7ac333746c693c76ecc4a76cd705739b (diff) | |
| parent | 8e4c57fca2f4bae61f7b567e7c72f96245f385bc (diff) | |
| download | rust-7779bb9907c0a9f237bb99e5384c73ede9d0ba6e.tar.gz rust-7779bb9907c0a9f237bb99e5384c73ede9d0ba6e.zip | |
Rollup merge of #57645 - nikomatsakis:issue-56877-abi-aggregates, r=eddyb
distinguish "no data" from "heterogeneous" in ABI Ignore zero-sized types when computing whether something is a homogeneous aggregate, except be careful of VLA. cc #56877 r? @arielb1 cc @eddyb
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 9e107fee5ba..85e80f7bdaf 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -938,6 +938,13 @@ pub const BUILTIN_ATTRIBUTES: &[(&str, AttributeType, AttributeTemplate, Attribu is just used for rustc unit tests \ and will never be stable", cfg_fn!(rustc_attrs))), + ("rustc_layout", Normal, template!(List: "field1, field2, ..."), + Gated(Stability::Unstable, + "rustc_attrs", + "the `#[rustc_layout]` attribute \ + is just used for rustc unit tests \ + and will never be stable", + cfg_fn!(rustc_attrs))), ("rustc_regions", Normal, template!(Word), Gated(Stability::Unstable, "rustc_attrs", "the `#[rustc_regions]` attribute \ |
