summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
2021-11-15Stabilize format_args_captureJosh Triplett-1/+1
2021-11-12proc_macro: Add an expand_expr method to TokenStreamNika Layzell-68/+122
2021-11-08Don't abort compilation after giving a lint errorJoshua Nelson-1/+1
2021-10-28Revert "Add rustc lint, warning when iterating over hashmaps"Mark Rousskov-1/+0
2021-10-24Rollup merge of #89558 - lcnr:query-stable-lint, r=estebankMatthias Krüger-0/+1
2021-10-22Rollup merge of #89991 - petrochenkov:visitok2, r=jackh726Yuki Okushi-6/+3
2021-10-19Auto merge of #89933 - est31:let_else, r=michaelwoeristerbors-10/+5
2021-10-18rustc_ast: Turn `MutVisitor::token_visiting_enabled` into a constantVadim Petrochenkov-6/+3
2021-10-17rustc_span: `Ident::invalid` -> `Ident::empty`Vadim Petrochenkov-5/+5
2021-10-17Rollup merge of #89943 - matthiaskrgr:clpcompl, r=oli-obkYuki Okushi-1/+1
2021-10-16clippy::complexity changesMatthias Krüger-1/+1
2021-10-16Adopt let_else across the compilerest31-10/+5
2021-10-15allow `potential_query_instability` everywherelcnr-0/+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-25Check for macros in built-in attributes that don't support them.Eric Huss-1/+20
2021-09-22Remove Symbol::lenbjorn3-1/+1
2021-09-19Rollup merge of #88996 - Aaron1011:trailing-macro-semi, r=petrochenkovYuki Okushi-6/+9
2021-09-15Fix linting when trailing macro expands to a trailing semiAaron Hill-6/+9
2021-09-15chore(rustc_expand): fix typo in commentMichael Howell-1/+1
2021-09-11Auto merge of #84373 - cjgillot:resolve-span, r=michaelwoerister,petrochenkovbors-3/+17
2021-09-10Record call_site parent for macros.Camille GILLOT-2/+16
2021-09-10Keep a parent LocalDefId in SpanData.Camille GILLOT-1/+1
2021-09-10Rollup merge of #87441 - ibraheemdev:i-86865, r=cjgillotManish Goregaokar-7/+22
2021-09-10Rollup merge of #86165 - m-ou-se:proc-macro-span-shrink, r=dtolnayManish Goregaokar-0/+6
2021-09-08Bump stage0 compiler to 1.56Mark Rousskov-2/+0
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-31emit suggestion byte literal is passed to `format!`ibraheemdev-7/+22
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