about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/expand.rs
AgeCommit message (Expand)AuthorLines
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-1/+1
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-2/+5
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-70/+16
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-2/+2
2022-04-07Kickstart the inner usage of macro_metavar_exprCaio-3/+1
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-15Auto merge of #94584 - pnkfelix:inject-use-suggestion-sites, r=ekuberbors-5/+5
2022-03-03Associate multiple with a crate too.Felix S. Klock II-4/+4
2022-03-03refactor: prepare to associate multiple spans with a module.Felix S. Klock II-3/+3
2022-03-03Fix invalid lint_node_id being put on a removed stmtLoïc BRANSTETT-2/+2
2022-03-03Rollup merge of #94433 - Urgau:check-cfg-allowness, r=petrochenkovDylan DPC-10/+13
2022-03-01Improve allowness of the unexpected_cfgs lintLoïc BRANSTETT-10/+13
2022-02-28Tweak diagnosticsEsteban Kuber-1/+2
2022-02-19Adopt let else in more placesest31-6/+4
2022-01-23expand: Pass everything by reference to pre-expansion lint callbackVadim Petrochenkov-6/+8
2022-01-23rustc_lint: Stop creating a fake `ast::Crate` for running early lintsVadim Petrochenkov-1/+6
2022-01-10expand: Pick `cfg`s and `cfg_attrs` one by one, like other attributesVadim Petrochenkov-48/+132
2022-01-07expand: Import more AST enumsVadim Petrochenkov-35/+35
2022-01-07expand: Refactor `InvocationCollector` visitor for better code reuseVadim Petrochenkov-497/+684
2022-01-07expand: Remove some unnecessary `self` mutabilityVadim Petrochenkov-3/+3
2022-01-07expand: Rename some `AstFragment`s to match AST structuresVadim Petrochenkov-18/+18
2022-01-05ast: Always keep a `NodeId` in `ast::Crate`Vadim Petrochenkov-2/+4
2021-12-04ast: Avoid aborts on fatal errors thrown from mutable AST visitorVadim Petrochenkov-9/+11
2021-11-28expand: Turn `ast::Crate` into a first class expansion targetVadim Petrochenkov-75/+63
2021-10-19Auto merge of #89933 - est31:let_else, r=michaelwoeristerbors-3/+1
2021-10-17rustc_span: `Ident::invalid` -> `Ident::empty`Vadim Petrochenkov-3/+3
2021-10-16Adopt let_else across the compilerest31-3/+1
2021-10-15Remove trailing semicolon from macro call spanCameron Steffen-27/+19
2021-10-15Remove redundant matchingCameron Steffen-16/+10
2021-09-28Improve help for recursion limit errorsRoss MacArthur-2/+6
2021-09-15Fix linting when trailing macro expands to a trailing semiAaron Hill-6/+9
2021-09-10Record call_site parent for macros.Camille GILLOT-1/+14
2021-09-02expand: Treat more macro calls as statement macro callsVadim Petrochenkov-33/+67
2021-08-21Remove `NonMacroAttr.mark_used`Aaron Hill-1/+1
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-4/+1
2021-08-12Revert "Rollup merge of #87779 - Aaron1011:stmt-ast-id, r=petrochenkov"Aaron Hill-2/+7
2021-08-06Remove special case for statement `NodeId` assignmentAaron Hill-7/+2
2021-07-25Auto merge of #87381 - Aaron1011:note-semi-trailing-macro, r=petrochenkovbors-2/+18
2021-07-24Rollup merge of #87389 - Aaron1011:expand-known-attrs, r=wesleywiserManish Goregaokar-2/+2
2021-07-24Display an extra note for trailing semicolon lint with trailing macroAaron Hill-2/+18
2021-07-23Rename `known_attrs` to `expanded_inert_attrs` and move to rustc_expandAaron Hill-2/+2
2021-07-19Warn on inert attributes used on bang macro invocationAaron Hill-16/+33
2021-07-17Only use `assign_id!` for ast nodes that support attributesAaron Hill-5/+5
2021-07-17Add additional missing lint handling logicAaron Hill-1/+8
2021-07-17Compute a better `lint_node_id` during expansionAaron Hill-22/+78
2021-07-17Use LocalExpnId where possible.Camille GILLOT-3/+3
2021-07-14Auto merge of #87118 - JohnTitor:rollup-8ltidsq, r=JohnTitorbors-4/+8
2021-07-14Suggest a path separator if a stray colon is found in a match armFabian Wolff-4/+8
2021-07-13Cache expansion hash.Camille GILLOT-2/+2