summary refs log tree commit diff
path: root/compiler/rustc_expand/src/base.rs
AgeCommit message (Expand)AuthorLines
2024-11-10ensure that all publicly reachable const fn have const stability infoRalf Jung-3/+1
2024-10-25Re-do recursive const stability checksRalf Jung-1/+3
2024-10-22Rollup merge of #125205 - ChrisDenton:verbatim-include, r=jieyouxuMatthias Krüger-1/+7
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-08-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-2/+0
2024-08-10rustc_expand: remove some redundant `#[allow(rustc::untranslatable_diagnostic)]`Pavel Grigorenko-2/+0
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-4/+4
2024-07-31Fix verbatim paths used with include!Chris Denton-1/+7
2024-07-29Reformat `use` declarations.Nicholas Nethercote-10/+13
2024-07-22Merge impl and trait item mut visitor methods to mirror immut visitorOli Scherer-13/+7
2024-06-19Rollup merge of #124135 - petrochenkov:deleglob, r=fmease许杰友 Jieyou Xu (Joe)-1/+46
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-3/+3
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-1/+1
2024-06-14delegation: Implement glob delegationVadim Petrochenkov-1/+46
2024-06-05Remove `stream_to_parser`.Nicholas Nethercote-3/+3
2024-05-28Convert `proc_macro_back_compat` lint to an unconditional error.Nicholas Nethercote-25/+16
2024-05-28Use let chains in `pretty_printing_compatibility_hack`.Nicholas Nethercote-41/+32
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-1/+1
2024-05-21Make early lints translatableXiretza-10/+8
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-1/+0
2024-05-03Inline and remove three `DummyResult` methods.Nicholas Nethercote-32/+22
2024-05-03Remove unnecessary re-export of `MacroKind`.Nicholas Nethercote-3/+1
2024-04-26Rollup merge of #124391 - nnethercote:builtin_macros-cleanups, r=fee1-deadJacob Pratt-182/+11
2024-04-26Move some functions from `rustc_expand` to `rustc_builtin_macros`.Nicholas Nethercote-179/+3
2024-04-26Introduce `DeriveResolution`.Nicholas Nethercote-3/+8
2024-04-25debuginfo: Stabilize `-Z debug-macros`, `-Z collapse-macro-debuginfo` and `#[...Vadim Petrochenkov-40/+35
2024-03-27Suggest correct path in include_bytes!Kornel-1/+16
2024-03-27Helper function for resolve_pathKornel-14/+11
2024-03-13delay expand macro bang when there has indeterminate pathbohan-24/+71
2024-03-06Rollup merge of #121382 - nnethercote:rework-untranslatable_diagnostic-lint, ...Matthias Krüger-0/+2
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+2
2024-03-05Rollup merge of #121829 - nnethercote:dummy-tweaks-2, r=petrochenkovMatthias Krüger-2/+12
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-2/+2
2024-03-05Decouple `DummyAstNode` and `DummyResult`.Nicholas Nethercote-2/+12
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-11/+7
2024-03-04Rename a misnamed `Session` parameter.Nicholas Nethercote-4/+4
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-47/+52
2024-02-25Add `ast::ExprKind::Dummy`Lieselotte-0/+3
2024-02-20Auto merge of #120576 - nnethercote:merge-Diagnostic-DiagnosticBuilder, r=dav...bors-0/+2
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-0/+2
2024-02-18Allow AST and HIR visitors to return `ControlFlow`Jason Newcomb-1/+1
2024-02-16Rollup merge of #121109 - nnethercote:TyKind-Err-guar-2, r=oli-obkGuillaume Gomez-3/+6
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-1/+1
2024-02-15Add an `ErrorGuaranteed` to `ast::TyKind::Err`.Nicholas Nethercote-3/+6
2024-02-06Invert diagnostic lints.Nicholas Nethercote-2/+0
2024-01-26Builtin macros effectively have implicit #[collapse_debuginfo(yes)] attributeAndrew Zhogin-1/+7
2024-01-19Auto merge of #120121 - matthiaskrgr:rollup-razammh, r=matthiaskrgrbors-3/+3
2024-01-18Fix typo in documentation in base.rskapilsinha-3/+3