summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/feature_gate.rs
AgeCommit message (Expand)AuthorLines
2024-03-14Add feature gates for `f16` and `f128`Trevor Gross-1/+12
2024-03-07Rollup merge of #119888 - weiznich:stablize_diagnostic_namespace, r=compiler-...Guillaume Gomez-8/+0
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+4
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-1/+1
2024-02-27Stabilize the `#[diagnostic]` namespace and `#[diagnostic::on_unimplemented]`...Georg Semmler-8/+0
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-0/+3
2024-02-01Correctly check `never_type` feature gatingGuillaume Gomez-0/+13
2024-01-19add help message for `exclusive_range_pattern` errorRowan S-L-1/+2
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-22/+8
2024-01-12Delegation implementation: step 1Bryanskiy-0/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-1/+1
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-5/+9
2023-12-22Auto merge of #118847 - eholk:for-await, r=compiler-errorsbors-0/+1
2023-12-21Simple modification of diagnostic informationsurechen-3/+4
2023-12-19Plumb awaitness of for loopsEric Holk-0/+1
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-2/+2
2023-12-12Correctly gate the parsing of match arms without bodyNadrieril-1/+28
2023-12-02Auto merge of #118470 - nnethercote:cleanup-error-handlers, r=compiler-errorsbors-2/+2
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-2/+2
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-12-01Auto merge of #117472 - jmillikin:stable-c-str-literals, r=Nilstriebbors-1/+0
2023-11-29Add `never_patterns` feature gateNadrieril-0/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-11-01Stabilize C string literalsJohn Millikin-1/+0
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