about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/cfg.rs
AgeCommit message (Expand)AuthorLines
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-2/+3
2024-12-16rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structuresJonathan Dönszelmann-1/+1
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-1/+1
2024-10-01Use `ast::NestedMetaItem` when evaluating cfg predicateUrgau-3/+6
2024-09-30Reject leading unsafe in `cfg!(...)` and `--check-cfg`.Urgau-1/+1
2024-07-30Add toggle for `parse_meta_item` unsafe parsingcarbotaniuman-1/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+3
2024-04-26Adjust some `pub`s.Nicholas Nethercote-1/+1
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-1/+1
2024-03-13delay expand macro bang when there has indeterminate pathbohan-4/+4
2024-02-25Remove `ast::` & `base::` prefixes from some builtin macrosLieselotte-2/+2
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-2/+2
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-1/+1
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-2/+2
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-1/+1
2023-04-10Migrate most of `rustc_builtin_macros` to diagnostic implsclubby789-18/+3
2022-10-23Migrate all diagnosticsNilstrieb-2/+2
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-3/+3
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-3/+3
2022-08-21Replace #[lint/warning/error] with #[diag]Xiretza-2/+2
2022-06-24macros: use typed identifiers in diag deriveDavid Wood-2/+2
2022-06-21Migrate `builtin-macros-expected-one-cfg-pattern` to `SessionDiagnostic`beetrees-1/+8
2022-06-21Migrate `builtin-macros-requires-cfg-pattern` to `SessionDiagnostic`beetrees-5/+12
2022-03-01Improve allowness of the unexpected_cfgs lintLoïc BRANSTETT-1/+6
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-6/+2
2020-08-30mv compiler to compiler/mark-0/+54