about summary refs log tree commit diff
path: root/src/libsyntax/feature_gate/active.rs
AgeCommit message (Collapse)AuthorLines
2019-11-30introduce crate rustc_feature and move active, accepted, and removed to itMazdak Farrokhzad-554/+0
2019-11-24Parse and feature gate raw address of expressionsMatthew Jasper-1/+4
2019-11-21Add feature gate for const `if` and `match`Dylan MacKenzie-0/+3
2019-11-21Gate fallback via `#![feature(never_type_fallback)]`.Mazdak Farrokhzad-0/+3
2019-11-21Stabilize the `never_type`, written `!`.Mazdak Farrokhzad-3/+0
2019-11-11support issue = "none" in unstable attributesRoss MacArthur-3/+3
- Use `Option<NonZeroU32>` to represent issue numbers.
2019-11-09Address review commentsVadim Petrochenkov-2/+2
2019-11-09Remove `#[feature(custom_attribute)]`Vadim Petrochenkov-3/+0
2019-11-09Support registering attributes and attribute tools using crate-level attributesVadim Petrochenkov-0/+6
2019-11-09Auto merge of #65879 - ohadravid:stabilize-re-rebalance-coherence, ↵bors-4/+0
r=nikomatsakis Stabilize the `re_rebalance_coherence` feature This PR stabilizes [RFC 2451](https://rust-lang.github.io/rfcs/2451-re-rebalancing-coherence.html), re-rebalance coherence. Changes include removing the attribute from tests which tested both the old and new behavior, moving the feature to `accepted` and removing the old logic. I'll also open a [PR](https://github.com/rust-lang-nursery/reference/pull/703) against the reference, updating it with the content of the RFC. Closes #63599 r? @nikomatsakis
2019-11-06gate rustc_on_unimplemented under rustc_attrsMazdak Farrokhzad-3/+0
2019-10-31Stabilize the `re_rebalance_coherence` featureOhad Ravid-4/+0
2019-10-29stabilize cfg(doctest)Guillaume Gomez-3/+0
2019-10-29Rollup merge of #65809 - roblabla:eficall-abi, r=nagisaMazdak Farrokhzad-0/+3
Add new EFIAPI ABI Fixes #54527 Adds a new ABI, "efiapi", which reflects the calling convention as specified by [the current spec UEFI spec](https://uefi.org/sites/default/files/resources/UEFI%20Spec%202_7_A%20Sept%206.pdf#G6.999903). When compiling for x86_64, we should select the `win64` ABI, while on all other architectures (Itanium, x86, ARM and ARM64 and RISC-V), we should select the `C` ABI. Currently, this is done by just turning it into the C ABI everywhere except on x86_64, where it's turned into the win64 ABI. Should we prevent this ABI from being used on unsupported architectures, and if so, how would this be done?
2019-10-27Stabilize `const_constructor`Matthew Jasper-3/+0
2019-10-25Add proper tracking issue for EFIAPIroblabla-1/+1
2019-10-25Add new EFIAPI ABIroblabla-0/+3
Adds a new ABI for the EFIAPI calls. This ABI should reflect the latest version of the UEFI specification at the time of commit (UEFI spec 2.8, URL below). The specification says that for x86_64, we should follow the win64 ABI, while on all other supported platforms (ia32, itanium, arm, arm64 and risc-v), we should follow the C ABI. To simplify the implementation, we will simply follow the C ABI on all platforms except x86_64, even those technically unsupported by the UEFI specification. https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf
2019-10-25RFC 2008: StabilizationDavid Wood-3/+0
This commit stabilizes RFC 2008 (#44109) by removing the feature gate. Signed-off-by: David Wood <david@davidtw.co>
2019-10-24Adjust the tracking issue for `untagged_unions`.Mazdak Farrokhzad-5/+13
Also elaborate on some feature gates in `active.rs`.
2019-10-22RFC 2027: "first draft" of implementationMathias Blikstad-0/+3
These are a squashed series of commits.
2019-10-07Mark #![feature(track_caller)] as incomplete.Adam Perry-0/+1
2019-10-07track_caller feature gate starts in 1.40.0.Adam Perry-1/+1
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-10-07track_caller run-pass test, lint cleanup, PR review.Adam Perry-1/+1
2019-10-07[RFC 2091] Add #[track_caller] attribute.Ayose-0/+3
- The attribute is behind a feature gate. - Error if both #[naked] and #[track_caller] are applied to the same function. - Error if #[track_caller] is applied to a non-function item. - Error if ABI is not "rust" - Error if #[track_caller] is applied to a trait function. Error codes and descriptions are pending.
2019-10-07Fix compilation error after rebase.Charles Lew-1/+1
2019-10-07Address review comments.Charles Lew-0/+1
2019-10-07Add feature gate for raw_dylib.Charles Lew-0/+3
2019-10-02Add support for 'extern const fn'Aaron Hill-0/+3
This works just as you might expect - an 'extern const fn' is a 'const fn' that is callable from foreign code. Currently, panicking is not allowed in consts. When RFC 2345 is stabilized, then panicking in an 'extern const fn' will produce a compile-time error when invoked at compile time, and an abort when invoked at runtime. Since this is extending the language (we're allowing the `const` keyword in a new context), I believe that this will need an FCP. However, it's a very minor change, so I didn't think that filing an RFC was necessary. This will allow libc (and other FFI crates) to make many functions `const`, without having to give up on making them `extern` as well.
2019-09-30Stabilize macros in `extern` blocksVadim Petrochenkov-3/+0
Add some tests for macros in extern blocks, remove duplicate tests
2019-09-11Stabilize `param_attrs` in Rust 1.39.0Caio-3/+0
2019-09-08Stabilize bind_by_move_pattern_guards in 1.39.0.Mazdak Farrokhzad-3/+0
2019-09-07Rollup merge of #64226 - alexreg:rush-pr-3, r=centrilMazdak Farrokhzad-8/+10
Aggregation of cosmetic changes made during work on REPL PRs: libsyntax Factored out from hacking on rustc for work on the REPL. r? @Centril
2019-09-07Aggregation of cosmetic changes made during work on REPL PRs: libsyntaxAlexander Regueiro-8/+10
2019-09-05Remove rustc_diagnostic_macros featureMark Rousskov-6/+0
2019-08-25Introduce and use `Feature` type for feature gatesPascal Hertleif-0/+10
This replaces the ad-hoc tuples used in the different feature gate files and unifies their content into a common type, leading to more readable matches and other good stuff that comes from having named fields. It also contains the description of each feature as extracted from the doc comment.
2019-08-24Use doc comments for feature gate descriptionsPascal Hertleif-144/+161
This is just in preparation for future usage of these texts.
2019-08-23syntax: extract `active.rs` feature gates.Mazdak Farrokhzad-0/+522