diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2018-06-06 13:24:16 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2018-06-12 06:49:07 +0200 |
| commit | e2aef92c19a95d6a0b8e75b473023f77de6150f0 (patch) | |
| tree | 01de964d88faf2e98000e090d2b670ee063d16a5 /src/liballoc/lib.rs | |
| parent | 4367e41ea2a105c373de27c2f080fc2527cc6927 (diff) | |
| download | rust-e2aef92c19a95d6a0b8e75b473023f77de6150f0.tar.gz rust-e2aef92c19a95d6a0b8e75b473023f77de6150f0.zip | |
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/lib.rs')
| -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)] |
