about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/base.rs
AgeCommit message (Expand)AuthorLines
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-7/+7
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-9/+11
2022-02-19Adopt let else in more placesest31-15/+8
2022-01-23expand: Pass everything by reference to pre-expansion lint callbackVadim Petrochenkov-10/+18
2022-01-23rustc_lint: Stop creating a fake `ast::Crate` for running early lintsVadim Petrochenkov-2/+3
2022-01-23rustc_lint: Reuse the set of registered tools from resolverVadim Petrochenkov-1/+4
2021-11-28expand: Turn `ast::Crate` into a first class expansion targetVadim Petrochenkov-1/+18
2021-09-11Auto merge of #84373 - cjgillot:resolve-span, r=michaelwoerister,petrochenkovbors-1/+2
2021-09-10Record call_site parent for macros.Camille GILLOT-1/+2
2021-09-10Rollup merge of #87441 - ibraheemdev:i-86865, r=cjgillotManish Goregaokar-7/+22
2021-09-03Auto merge of #88597 - cjgillot:lower-global, r=petrochenkovbors-0/+8
2021-09-01Compute proc_macros in resolutions.Camille GILLOT-0/+8
2021-08-31emit suggestion byte literal is passed to `format!`ibraheemdev-7/+22
2021-08-27Path remapping: Make behavior of diagnostics output dependent on presence of ...Michael Woerister-1/+1
2021-08-21Remove `NonMacroAttr.mark_used`Aaron Hill-7/+4
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-0/+1
2021-07-25Auto merge of #87381 - Aaron1011:note-semi-trailing-macro, r=petrochenkovbors-0/+2
2021-07-24Display an extra note for trailing semicolon lint with trailing macroAaron Hill-0/+2
2021-07-23Rename `known_attrs` to `expanded_inert_attrs` and move to rustc_expandAaron Hill-0/+6
2021-07-17Only use `assign_id!` for ast nodes that support attributesAaron Hill-0/+3
2021-07-17Compute a better `lint_node_id` during expansionAaron Hill-3/+3
2021-07-17Use LocalExpnId where possible.Camille GILLOT-16/+24
2021-07-13expand: Support helper attributes for built-in derive macrosVadim Petrochenkov-2/+92
2021-07-10rustc_span: Revert addition of `proc_macro` field to `ExpnKind::Macro`Vadim Petrochenkov-9/+1
2021-07-06Store macro parent module in ExpnData.Camille GILLOT-0/+2
2021-06-20expand: Move some more derive logic to `rustc_builtin_macros`Vadim Petrochenkov-1/+1
2021-06-04Remove `doc(include)`Joshua Nelson-3/+3
2021-05-12Auto merge of #83813 - cbeuw:remap-std, r=michaelwoeristerbors-3/+8
2021-05-12Implement span quoting for proc-macrosAaron Hill-2/+14
2021-05-05Use local and remapped paths where appropriateAndy Wang-1/+4
2021-05-05Make local_path in RealFileName::Remapped Option to be removed in exported me...Andy Wang-1/+3
2021-05-05Rename RealFileName::Named to LocalPath and Devirtualized to RemappedAndy Wang-1/+1
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-60/+19
2021-04-04resolve/expand: Cache intermediate results of `#[derive]` expansionVadim Petrochenkov-5/+4
2021-03-18Rollup merge of #83168 - Aaron1011:lint-procedural-masquerade, r=petrochenkovDylan DPC-0/+40
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-33/+33
2021-03-15Extend `proc_macro_back_compat` lint to `procedural-masquerade`Aaron Hill-0/+40
2021-03-12Auto merge of #82422 - petrochenkov:allunst, r=oli-obkbors-2/+3
2021-03-08Rollup merge of #82682 - petrochenkov:cfgeval, r=Aaron1011Dylan DPC-2/+16
2021-03-08Rollup merge of #82415 - petrochenkov:modin3, r=davidtwcoDylan DPC-9/+28
2021-03-06rustc_ast: Replace `AstLike::finalize_tokens` with a getter `tokens_mut`Vadim Petrochenkov-2/+16
2021-03-05Auto merge of #71481 - estebank:inherit-stability, r=nikomatsakisbors-3/+9
2021-03-05rustc_interface: Hide some hacky details of early linting from expandVadim Petrochenkov-3/+6
2021-03-05expand: Some more consistent naming in module loadingVadim Petrochenkov-3/+3
2021-03-05expand: Move module file path stack from global session to expansion dataVadim Petrochenkov-3/+19
2021-02-27Combine HasAttrs and HasTokens into AstLikeAaron Hill-4/+8
2021-02-23expand: Do not allocate `Lrc` for `allow_internal_unstable` list unless neces...Vadim Petrochenkov-2/+3
2021-02-21remove redundant wrapping of return types of allow_internal_unstable() and ru...Matthias Krüger-2/+2
2021-02-11Add test for "const stability on macro"Esteban Küber-2/+5
2021-02-10Tweak stability attribute diagnostic outputEsteban Küber-3/+6