about summary refs log tree commit diff
path: root/compiler/rustc_attr/src
AgeCommit message (Expand)AuthorLines
2024-11-04remove support for extern-block const intrinsicsRalf Jung-7/+3
2024-10-25Re-do recursive const stability checksRalf Jung-7/+78
2024-10-23fix a couple clippy:complexitysMatthias Krüger-2/+2
2024-10-23nightly feature tracking: get rid of the per-feature bool fieldsRalf Jung-5/+5
2024-10-16Handle gracefully true/false in `cfg(target(..))` compactUrgau-1/+7
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-12/+12
2024-10-04Rollup merge of #131034 - Urgau:cfg-true-false, r=nnethercoteGuillaume Gomez-12/+46
2024-10-04Improve non-boolean literal error in cfg predicateUrgau-1/+3
2024-10-04Feature gate boolean lit support in cfg predicatesUrgau-2/+18
2024-10-01Implement boolean lit support in cfg predicatesUrgau-1/+2
2024-10-01Use `ast::NestedMetaItem` when evaluating cfg predicateUrgau-10/+25
2024-09-30add `stable_since` convenienceLukas Markeffsky-0/+10
2024-09-24rustdoc: inherit parent's stability where applicableLukas Markeffsky-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-24/+20
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-1/+1
2024-08-27Rollup merge of #126013 - nnethercote:unreachable_pub, r=UrgauMatthias Krüger-2/+3
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-2/+2
2024-08-16Add `warn(unreachable_pub)` to `rustc_attr`.Nicholas Nethercote-2/+3
2024-08-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-3/+2
2024-08-10rustc_attr: make "compact `cfg(target(..))` is unstable" translatablePavel Grigorenko-2/+2
2024-08-10rustc_attr: remove redundant `#[allow(rustc::untranslatable_diagnostic)]`Pavel Grigorenko-1/+0
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-7/+7
2024-07-29Rollup merge of #128341 - Alexendoo:parse-version-pub, r=compiler-errorsMatthias Krüger-1/+1
2024-07-29Make `rustc_attr::parse_version` pubAlex Macleod-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-12/+13
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-3/+4
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-1/+1
2024-06-12Use `tidy` to sort crate attributes for all compiler crates.Nicholas Nethercote-1/+3
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-2/+2
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-6/+0
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-5/+2
2024-04-25Rollup merge of #124324 - nnethercote:minor-ast-cleanups, r=estebankMatthias Krüger-1/+1
2024-04-24Rename `NestedMetaItem::name_value_literal`.Nicholas Nethercote-1/+1
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+0
2024-04-01Use the `Align` type when parsing alignment attributesbeetrees-6/+13
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-7/+5
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+3
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-3/+3
2024-03-04Rollup merge of #121969 - nnethercote:ParseSess-cleanups, r=wesleywiserMatthias Krüger-7/+7
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-7/+7
2024-03-03fix spans of arguments in diagnosticyukang-3/+10
2024-03-02Fix misleading message when using a named constant as a struct alignment/packyukang-11/+40
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-5/+5
2024-02-15Use generic `NonZero` internally.Markus Reiter-3/+4
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-24/+23
2024-01-19Pack the u128 in LitKind::IntJosh Stone-3/+3
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-12/+12
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-5/+5
2024-01-10Rename `{create,emit}_warning` as `{create,emit}_warn`.Nicholas Nethercote-1/+1