about summary refs log tree commit diff
path: root/src/test/ui/proc-macro
AgeCommit message (Expand)AuthorLines
2021-03-21Auto merge of #83339 - Aaron1011:deep-recollect, r=petrochenkovbors-1/+34
2021-03-21Perform 'deep recollection' in test helper macrosAaron Hill-1/+34
2021-03-19Extend `proc_macro_back_compat` lint to `js-sys`Aaron Hill-12/+60
2021-03-18Extend `proc_macro_back_compat` lint to `actix-web`Aaron Hill-7/+79
2021-03-15Extend `proc_macro_back_compat` lint to `procedural-masquerade`Aaron Hill-0/+60
2021-03-14Introduce `proc_macro_back_compat` lint, and emit for `time-macros-impl`Aaron Hill-11/+83
2021-03-14expand: Resolve and expand inner attributes on out-of-line modulesVadim Petrochenkov-0/+138
2021-03-11Add regression test for https://github.com/rust-lang/rust/issues/79825hyd-dev-0/+24
2021-03-11Add regression test for https://github.com/rust-lang/rust/issues/81555hyd-dev-0/+15
2021-03-10Rollup merge of #82217 - m-ou-se:edition-prelude, r=nikomatsakisDylan DPC-2/+2
2021-03-06Implement built-in attribute macro `#[cfg_eval]`Vadim Petrochenkov-0/+196
2021-02-28Add more proc-macro attribute testsAaron Hill-371/+2249
2021-02-27Rollup merge of #82419 - petrochenkov:inertord, r=Aaron1011Dylan DPC-38/+112
2021-02-25Update test output for edition preludes.Mara Bos-2/+2
2021-02-23expand: Preserve order of inert attributes during expansionVadim Petrochenkov-48/+41
2021-02-23Add testsVadim Petrochenkov-6/+87
2021-02-21reword `;` suggestions to have consistent wordingEsteban Küber-1/+1
2021-02-09Visit more targets when checking attrsRyan Levick-6/+6
2021-02-07Address review commentsVadim Petrochenkov-0/+38
2021-02-07Feature gate macro attributes in `#[derive]` outputVadim Petrochenkov-29/+89
2021-02-07expand/resolve: Turn `#[derive]` into a regular macro attributeVadim Petrochenkov-420/+688
2021-02-02Rollup merge of #81608 - Aaron1011:macro-res-parse-err, r=davidtwcoJonas Schievink-1/+28
2021-02-02Bless testsDanuel-3/+3
2021-02-01Fixed #[inline] to be warned in fields, arms, macro defsDanuel-2/+13
2021-01-31Improve handling of spans around macro result parse errorsAaron Hill-1/+28
2021-01-28Clone entire `TokenCursor` when collecting tokensAaron Hill-0/+40
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-0/+130
2021-01-17resolve: Reject ambiguity built-in attr vs different built-in attrVadim Petrochenkov-2/+20
2021-01-13Update code to account for extern ABI requirementMark Rousskov-5/+5
2021-01-13Update tests for extern block lintingMark Rousskov-3/+5
2021-01-09Synthesize a `TokenStream` for `StmtKind::Empty`Aaron Hill-0/+40
2021-01-07rustc_parse: Better spans for synthesized token streamsVadim Petrochenkov-137/+137
2020-12-19Auto merge of #79073 - davidtwco:issue-78957-const-param-attrs, r=lcnrbors-5/+13
2020-12-12Properly capture trailing 'unglued' tokenAaron Hill-0/+48
2020-12-05Add a regression test for issue-66286Yuki Okushi-0/+39
2020-11-29passes: prohibit attrs on generic paramsDavid Wood-5/+13
2020-11-28Auto merge of #78296 - Aaron1011:fix/stmt-tokens, r=petrochenkovbors-99/+346
2020-11-26Use custom macro instead of printlnAaron Hill-141/+152
2020-11-26Add additional semicolon testAaron Hill-108/+126
2020-11-26Only eat semicolons for statements that need themAaron Hill-6/+1
2020-11-26Properly handle attributes on statementsAaron Hill-74/+297
2020-11-26Auto merge of #79338 - Aaron1011:fix/token-reparse-cache, r=petrochenkovbors-0/+50
2020-11-24Invoke attributes on the statement for statement itemsAaron Hill-4/+524
2020-11-23Cache pretty-print/retokenize result to avoid compile time blowupAaron Hill-0/+50
2020-11-20rustc_expand: Mark inner `#![test]` attributes as soft-unstableVadim Petrochenkov-1/+16
2020-11-19resolve: Centralize some error reporting for unexpected macro resolutionsVadim Petrochenkov-16/+16
2020-11-06More detailed output for the nonterminal marking testVadim Petrochenkov-1/+95
2020-11-06rustc_ast: Visit tokens stored in AST nodes in mutable visitorVadim Petrochenkov-0/+27
2020-11-04Auto merge of #78677 - Aaron1011:fix/capture-inner-attrs, r=petrochenkovbors-0/+118
2020-11-03Rollup merge of #78376 - Aaron1011:feature/consistent-empty-expr, r=petrochenkovYuki Okushi-1/+1