summary refs log tree commit diff
path: root/compiler/rustc_expand/src/base.rs
AgeCommit message (Expand)AuthorLines
2022-06-21Add `create_err` and `emit_err` to `ExtCtxt`beetrees-1/+12
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-1/+1
2022-05-27Rename `ProcMacro` trait as `BangProcMacro`.Nicholas Nethercote-3/+3
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-10/+8
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-12Auto merge of #96150 - est31:unused_macro_rules, r=petrochenkovbors-0/+2
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-24/+38
2022-05-05Implement the unused_macro_rules lintest31-0/+2
2022-05-03Add support for a new attribute `#[debugger_visualizer]` to support embedding...ridwanabdillahi-2/+39
2022-04-27tut tut tutEllen-3/+1
2022-04-09Auto merge of #95697 - klensy:no-strings, r=petrochenkovbors-2/+2
2022-04-08check_doc_keyword: don't alloc string for emptiness checkklensy-2/+2
2022-04-07Shrink `Nonterminal`.Nicholas Nethercote-1/+1
2022-04-05Rollup merge of #95473 - lqd:macro-expansion, r=petrochenkovDylan DPC-0/+6
2022-04-05track proc-macro expansions in the self-profilerRémy Rakic-0/+6
2022-04-05span: move `MultiSpan`David Wood-2/+2
2022-03-26Move resolve_path to rustc_builtin_macros and make it privateBadel2-37/+2
2022-03-16rustc_error: make ErrorReported impossible to constructmark-1/+1
2022-03-03Associate multiple with a crate too.Felix S. Klock II-1/+1
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