summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
2021-10-04Rollup merge of #88996 - Aaron1011:trailing-macro-semi, r=petrochenkovYuki Okushi-6/+9
2021-09-04Auto merge of #88598 - estebank:type-ascription-can-die-in-a-fire, r=wesleywiserbors-0/+1
2021-09-03Auto merge of #88597 - cjgillot:lower-global, r=petrochenkovbors-0/+8
2021-09-03Detect bare blocks with type ascription that were meant to be a `struct` literalEsteban Kuber-0/+1
2021-09-03Auto merge of #88428 - petrochenkov:stmtid, r=Aaron1011bors-54/+72
2021-09-03Auto merge of #88363 - michaelwoerister:remapped-diagnostics, r=estebankbors-1/+1
2021-09-02expand: Treat more macro calls as statement macro callsVadim Petrochenkov-54/+72
2021-09-01Compute proc_macros in resolutions.Camille GILLOT-0/+8
2021-08-30Add let-else to ASTCameron Steffen-3/+3
2021-08-29Auto merge of #88262 - klensy:pprust-cow, r=nagisabors-1/+1
2021-08-27Path remapping: Make behavior of diagnostics output dependent on presence of ...Michael Woerister-1/+1
2021-08-25Various pattern cleanupsLéo Lanteri Thauvin-0/+1
2021-08-25Use if-let guards in the codebaseLéo Lanteri Thauvin-25/+26
2021-08-25Convert some functions to return Cow<'static,str> instead of String to reduce...klensy-1/+1
2021-08-21Remove `NonMacroAttr.mark_used`Aaron Hill-8/+5
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-61/+15
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-0/+1
2021-08-12Revert "Rollup merge of #87779 - Aaron1011:stmt-ast-id, r=petrochenkov"Aaron Hill-7/+28
2021-08-06Remove special case for statement `NodeId` assignmentAaron Hill-28/+7
2021-08-03Remove space after negative sign in Literal to_stringDavid Tolnay-0/+3
2021-08-03Auto merge of #87262 - dtolnay:negative, r=Aaron1011bors-22/+41
2021-08-01Auto merge of #87449 - matthiaskrgr:clippyy_v2, r=nagisabors-1/+1
2021-07-27Only emit lint for local macrosAaron Hill-7/+19
2021-07-25clippy::single_char_patternMatthias Krüger-1/+1
2021-07-25Auto merge of #87381 - Aaron1011:note-semi-trailing-macro, r=petrochenkovbors-5/+32
2021-07-24Rollup merge of #87389 - Aaron1011:expand-known-attrs, r=wesleywiserManish Goregaokar-2/+8
2021-07-24Display an extra note for trailing semicolon lint with trailing macroAaron Hill-5/+32
2021-07-23Rename `known_attrs` to `expanded_inert_attrs` and move to rustc_expandAaron Hill-2/+8
2021-07-19Warn on inert attributes used on bang macro invocationAaron Hill-16/+33
2021-07-18Support negative numbers in Literal::from_strDavid Tolnay-22/+41
2021-07-17Only use `assign_id!` for ast nodes that support attributesAaron Hill-5/+8
2021-07-17Add additional missing lint handling logicAaron Hill-1/+8
2021-07-17Compute a better `lint_node_id` during expansionAaron Hill-27/+82
2021-07-17Use LocalExpnId where possible.Camille GILLOT-22/+30
2021-07-14Rollup merge of #87027 - petrochenkov:builderhelp, r=oli-obkGuillaume Gomez-2/+92
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
2021-07-13expand: Support helper attributes for built-in derive macrosVadim Petrochenkov-2/+92
2021-07-11rustc_expand: Simplify span quoting in proc macro serverVadim Petrochenkov-26/+9
2021-07-10rustc_expand: Remove redundant field from proc macro expander structuresVadim Petrochenkov-9/+5
2021-07-10rustc_span: Revert addition of `proc_macro` field to `ExpnKind::Macro`Vadim Petrochenkov-10/+2
2021-07-08Rework SESSION_GLOBALS API to prevent overwriting itGuillaume Gomez-27/+27
2021-07-06Change or_patterns_back_compat lint to rust_2021_incompatible_or_patternsRyan Levick-2/+4
2021-07-06Store macro parent module in ExpnData.Camille GILLOT-0/+2
2021-07-02add track_path::path fn for proc-macro usageBernhard Schuster-0/+4
2021-06-24Don't lint :pat when re-parsing a macro from another crate.Mara Bos-32/+34
2021-06-21Rollup merge of #86491 - petrochenkov:derefact, r=Aaron1011Yuki Okushi-29/+3
2021-06-21Do not set depth to 0 in fully_expand_fragmentDeadbeef-1/+1
2021-06-20expand: Move some more derive logic to `rustc_builtin_macros`Vadim Petrochenkov-29/+3