diff options
| author | bors <bors@rust-lang.org> | 2018-06-16 10:59:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-06-16 10:59:40 +0000 |
| commit | 61ba0180933485cf8a2bc6b7230a4c70b82bb063 (patch) | |
| tree | 5aff6e18e3b8252bbc742272ad633866b779c912 /src/liballoc | |
| parent | a385095f9a6d4d068102b6c72fbdc86ac2667e51 (diff) | |
| parent | e2aef92c19a95d6a0b8e75b473023f77de6150f0 (diff) | |
| download | rust-61ba0180933485cf8a2bc6b7230a4c70b82bb063.tar.gz rust-61ba0180933485cf8a2bc6b7230a4c70b82bb063.zip | |
Auto merge of #51562 - SimonSapin:transparent, r=cramertj
Stabilize #[repr(transparent)] Tracking issue FCP: https://github.com/rust-lang/rust/issues/43036#issuecomment-394094318 Reference PR: https://github.com/rust-lang-nursery/reference/pull/353
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 74bbd659246..e25742a4a61 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -105,7 +105,7 @@ #![feature(pin)] #![feature(ptr_internals)] #![feature(ptr_offset_from)] -#![feature(repr_transparent)] +#![cfg_attr(stage0, feature(repr_transparent))] #![feature(rustc_attrs)] #![feature(specialization)] #![feature(staged_api)] |
