summary refs log tree commit diff
path: root/src/test/ui/proc-macro
AgeCommit message (Expand)AuthorLines
2020-09-28Fix recursive nonterminal expansion during pretty-print/reparse checkAaron Hill-0/+86
2020-09-26Test more attributes in test issue-75930-derive-cfg.rsAaron Hill-6/+1652
2020-09-21Record `tcx.def_span` instead of `item.span` in crate metadataAaron Hill-3/+3
2020-09-13Auto merge of #76658 - Aaron1011:fix/encode-dummy-loc-span, r=lcnrbors-157/+159
2020-09-13Auto merge of #76585 - Aaron1011:ignore-vert-plus, r=petrochenkovbors-0/+149
2020-09-12Properly encode spans with a dummy location and non-root `SyntaxContext`Aaron Hill-157/+159
2020-09-10Fully integrate token collection for additional AST structsAaron Hill-10/+322
2020-09-10Ignore `|` and `+` tokens during proc-macro pretty-print checkAaron Hill-0/+149
2020-09-10Syntactically permit unsafety on modsDavid Tolnay-0/+116
2020-09-09Auto merge of #76406 - GuillaumeGomez:create-e0774, r=pickfire,jyn514bors-3/+4
2020-09-08Update testsGuillaume Gomez-3/+4
2020-09-04Account for version number in NtIdent hackAaron Hill-7/+43
2020-09-02pretty: trim paths of unique symbolsDan Aloni-10/+12
2020-09-01Auto merge of #76010 - Aaron1011:fix/cfg-generic-param, r=petrochenkovbors-0/+251
2020-08-30Add `-Z proc-macro-backtrace` to allow showing proc-macro panicsAaron Hill-0/+32
2020-08-30Run cfg-stripping on generic parameters before invoking derive macrosAaron Hill-0/+251
2020-08-23Auto merge of #75465 - Aaron1011:feature/short-fn-def-span, r=estebankbors-1/+1
2020-08-22Use smaller def span for functionsAaron Hill-1/+1
2020-08-22Add backwards-compat hack for certain '$name' tokensAaron Hill-0/+60
2020-08-22Recursively expand `TokenKind::Interpolated` (take 2)Aaron Hill-62/+112
2020-08-20Capture tokens for Pat used in macro_rules! argumentAaron Hill-2/+55
2020-08-10Auto merge of #74005 - estebank:type-ascription-redux, r=petrochenkovbors-10/+2
2020-08-10Do not suggest similarly named enclosing itemEsteban Küber-10/+2
2020-08-09Remove normalization of `Span` debug output in proc-macro testsAaron Hill-163/+233
2020-08-06Add some comments for magic numbers + Add testsVadim Petrochenkov-0/+78
2020-08-03Stabilize Ident::new_rawAaron Hill-0/+61
2020-08-02fix typosliuzhenyu-1/+1
2020-08-02Auto merge of #74785 - euclio:deprecation-kinds, r=petrochenkovbors-2/+2
2020-07-27mv std libs to library/mark-5/+5
2020-07-26Normalize the test output of hygiene-related testsAaron Hill-194/+142
2020-07-26Remove explicit `extern crate` from proc-macro testAaron Hill-3/+1
2020-07-26Add test for serializing hygiene *into* a proc-macro crateAaron Hill-12/+61
2020-07-26Hygiene serialization implementationAaron Hill-117/+124
2020-07-26report kind of deprecated item in messageAndy Russell-2/+2
2020-07-01Rollup merge of #73569 - Aaron1011:fix/macro-rules-group, r=petrochenkovManish Goregaokar-1/+266
2020-07-01Handle `None`-delimited groups when parsing `macro_rules!` macroAaron Hill-0/+24
2020-07-01Don't print additional spaces when pretty-printing NoDelim groupsAaron Hill-3/+1
2020-07-01Insert NoDelim groups around nonterminals when lowering macro_rulesAaron Hill-0/+243
2020-07-01expand: Stop using nonterminals for passing tokens to attribute and derive ma...Vadim Petrochenkov-42/+31
2020-06-30Add force-host to test aux file used by proc-macroAaron Hill-2/+4
2020-06-29Normalize symbol ids to 0 in test stdoutAaron Hill-9/+13
2020-06-29Serialize all foreign `SourceFile`s into proc-macro crate metadataAaron Hill-1/+81
2020-06-15Always capture tokens for `macro_rules!` argumentsAaron Hill-0/+179
2020-06-11Rollup merge of #73012 - Aaron1011:feature/span-debug-ctxt, r=matthewjasperDylan DPC-30/+30
2020-06-10Rollup merge of #73157 - Aaron1011:where-oh-where-has-my-little-span-gone, r=...Dylan DPC-0/+39
2020-06-10Rollup merge of #72789 - petrochenkov:impcand, r=davidtwcoDylan DPC-4/+0
2020-06-08Show `SyntaxContext` in formatted `Span` debug outputAaron Hill-30/+30
2020-06-08Don't lose empty `where` clause when pretty-printingAaron Hill-0/+39
2020-06-04Add `-Z span-debug` to allow for easier debugging of proc macrosAaron Hill-0/+207
2020-05-31Add a test for `$:ident` in proc macro inputVadim Petrochenkov-0/+94