summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/feature_gate.rs
AgeCommit message (Expand)AuthorLines
2023-10-31Test the multispan case in `tests.ui/bounds-lifetime.rs`.Nicholas Nethercote-1/+1
2023-10-31Fix a `FIXME`, by adding a `gate_multi` macro.Nicholas Nethercote-18/+24
2023-10-31Rearrange the `gate_feature_*` macros.Nicholas Nethercote-60/+58
2023-10-31Use a slice pattern to neaten a condition.Nicholas Nethercote-8/+3
2023-10-31Cover two more cases in the `gate_doc` macro.Nicholas Nethercote-18/+14
2023-10-31Streamline `gate_feature_*` macros.Nicholas Nethercote-30/+14
2023-10-27Feature gate `gen` blocks, even in 2024 editionOli Scherer-1/+6
2023-10-20s/generator/coroutine/Oli Scherer-1/+1
2023-10-16Rename `ACTIVE_FEATURES` as `UNSTABLE_FEATURES`.Nicholas Nethercote-1/+1
2023-10-03Gate against auto traits pre-expansionMichael Goulet-0/+1
2023-09-24Add comment about RTN feature gatingNilstrieb-0/+3
2023-09-24Rename the legacy feature gating macroNilstrieb-9/+12
2023-08-24Auto merge of #115131 - frank-king:feature/unnamed-fields-lite, r=petrochenkovbors-0/+1
2023-08-24Parse unnamed fields and anonymous structs or unionsFrank King-0/+1
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-9/+7
2023-07-28Parse generic const itemsLeón Orell Valerian Liehr-0/+1
2023-07-28Introduce the `#[diagnostic]` attribute namespaceGeorg Semmler-0/+13
2023-06-19Syntatically accept `become` expressionsMaybe Waffle-0/+1
2023-06-03cleanupyukang-4/+0
2023-06-03remove EarlySyntaxWarning for type ascriptionyukang-14/+0
2023-06-03remove type ascription feature gateyukang-33/+2
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-2/+1
2023-05-05Add feature gateest31-0/+1
2023-05-05Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC-0/+1
2023-05-04Rollup merge of #110791 - compiler-errors:negative-bounds, r=oli-obkDylan DPC-0/+6
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-2/+2
2023-05-02Implement negative boundsMichael Goulet-0/+6
2023-05-02make it semantic errorDeadbeef-0/+1
2023-05-02try gating early, add non-ascii testDeadbeef-1/+0
2023-05-02update and add a few testsDeadbeef-0/+1
2023-04-12Rollup merge of #110237 - oli-obk:impl_trait_in_assoc_tys, r=jackh726Matthias Krüger-10/+20
2023-04-12Split out a separate feature gate for impl trait in associated typesOli Scherer-10/+20
2023-04-10Remove `..` from return type notationMichael Goulet-8/+11
2023-04-09Fix some clippy::complexityNilstrieb-2/+5
2023-04-03Emit feature error for parenthesized generics in associated type boundsMichael Goulet-9/+2
2023-03-28Add `(..)` syntax for RTNMichael Goulet-6/+14
2023-03-28Feature gateMichael Goulet-6/+15
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-4/+4
2023-03-13Auto merge of #108471 - clubby789:unbox-the-syntax, r=Nilstrieb,est31bors-9/+0
2023-03-12Remove `box_syntax` from AST and use in toolsclubby789-9/+0
2023-03-11Gate const closures even when they appear in macrosMichael Goulet-8/+1
2023-03-11Gate all usages of dyn*, even in macrosMichael Goulet-3/+1
2023-02-27avoid `&str` to `String` conversionsTakayuki Maeda-1/+1
2023-02-25Complete migrating `ast_passes` to derive diagnosticsclubby789-39/+15
2023-02-22errors: generate typed identifiers in each crateDavid Wood-1/+1
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-1/+3
2023-02-16Add feature gate for non_lifetime_bindersMichael Goulet-1/+54
2023-01-12gate const closuresDeadbeef-0/+8
2022-12-13remove unnecessary uses of `clone`Takayuki Maeda-1/+1
2022-11-29`rustc_ast_passes`: remove `ref` patternsMaybe Waffle-10/+10