summary refs log tree commit diff
path: root/tests/ui/macros
AgeCommit message (Expand)AuthorLines
2024-11-03use backticks instead of single quotes when reporting "use of unstable librar...dianne-7/+7
2024-10-30Annotate `input` reference testsEric Huss-1/+3
2024-10-28Tweak more warnings.Nicholas Nethercote-69/+69
2024-10-28Tweak `expand_incomplete_parse` warning.Nicholas Nethercote-17/+17
2024-10-23"innermost", "outermost", "leftmost", and "rightmost" don't need hyphensJosh Triplett-21/+21
2024-10-14Remove `'apostrophes'` from `rustc_parse_format`Lieselotte-2/+2
2024-10-14Rollup merge of #131430 - surechen:fix_130495, r=jieyouxuMatthias Krüger-0/+72
2024-10-14Special treatment empty tuple when suggest adding a string literal in format ...surechen-0/+72
2024-10-04Rollup merge of #131034 - Urgau:cfg-true-false, r=nnethercoteGuillaume Gomez-3/+3
2024-10-04Improve non-boolean literal error in cfg predicateUrgau-2/+2
2024-10-01Use `ast::NestedMetaItem` when evaluating cfg predicateUrgau-3/+3
2024-10-01Stabilize expr_2021 fragment in all editionsEric Holk-56/+35
2024-09-23Rollup merge of #130551 - nnethercote:fix-break-last-token, r=petrochenkovJubilee-0/+16
2024-09-23Fix `break_last_token`.Nicholas Nethercote-0/+16
2024-09-18Add known-bug and update comments to describe correct behavior in light of bugEric Holk-6/+3
2024-09-17Add coverage for pat tooEric Holk-30/+45
2024-09-17test: cross-edition metavar fragment specifiersVincenzo Palazzo-0/+40
2024-08-18stabilize raw_ref_opRalf Jung-1/+0
2024-08-16Fix wrong source location for some incorrect macro definitionsWafarm-6/+6
2024-08-16Overhaul token collection.Nicholas Nethercote-16/+8
2024-08-16Add some attribute `stringify!` tests.Nicholas Nethercote-2/+53
2024-07-31Rollup merge of #126697 - vincenzopalazzo:macros/find_the_expression_tok, r=e...Matthias Krüger-0/+73
2024-07-31tests: add the _ as expr test for cargo fixVincenzo Palazzo-2/+2
2024-07-31rustc_parser: consider the in 2024 an expressionVincenzo Palazzo-0/+73
2024-07-27Make `missing_fragment_specifier` an error in edition 2024Trevor Gross-18/+74
2024-07-26Rollup merge of #127557 - linyihai:issue-126694, r=compiler-errorsTrevor Gross-3/+4
2024-07-26Add a label to point to the lacking macro name definitionLin Yihai-3/+4
2024-07-25Rollup merge of #128111 - estebank:no-question, r=fmeaseMatthias Krüger-4/+4
2024-07-24Do not use question as labelEsteban Küber-4/+4
2024-07-24Mark `missing_fragment_specifier` as `FutureReleaseErrorReportInDeps`Trevor Gross-0/+89
2024-07-20Rollup merge of #127720 - c410-f3r:concat-rep, r=cjgillotMatthias Krüger-0/+18
2024-07-19Allow concat in repetitionsCaio-0/+18
2024-07-19Rollup merge of #127662 - estebank:gate-span, r=TaKO8KiMatthias Krüger-0/+13
2024-07-17Rollup merge of #127542 - c410-f3r:concat-again, r=petrochenkovTrevor Gross-14/+265
2024-07-17Add support for literalsCaio-14/+265
2024-07-12When finding item gated behind a `cfg` flat, point at itEsteban Küber-0/+13
2024-07-12Make `impl` and `!` removal suggestion `short`Esteban Küber-14/+2
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-5/+20
2024-07-10Rollup merge of #125627 - vincenzopalazzo:macros/cargo-fix-expr2024, r=compil...Jacob Pratt-3/+91
2024-07-09tests: adds cargo fix testsVincenzo Palazzo-3/+91
2024-07-08Rollup merge of #126841 - c410-f3r:concat-again, r=petrochenkov许杰友 Jieyou Xu (Joe)-33/+192
2024-07-06Add support for literalsCaio-33/+192
2024-07-06out_of_scope_macro_calls: Detect calls inside attributes more preciselyVadim Petrochenkov-0/+10
2024-07-01Ensure `out_of_scope_macro_calls` lint is registeredbeetrees-0/+6
2024-06-27Rollup merge of #126929 - nnethercote:rm-__rust_force_expr, r=oli-obkJacob Pratt-3/+6
2024-06-25Remove `__rust_force_expr`.Nicholas Nethercote-3/+6
2024-06-25Extend `tests/ui/macros/nonterminal-matching.rs`.Nicholas Nethercote-1/+119
2024-06-19Allow naming expr_2021 in all editionsMichael Goulet-49/+2
2024-06-19Add a test demonstrating the problemMichael Goulet-0/+29
2024-06-13Add a new concat metavar exprCaio-2/+381