summary refs log tree commit diff
path: root/src/test/ui/macros
AgeCommit message (Expand)AuthorLines
2021-02-03Allow/fix non_fmt_panic in tests.Mara Bos-0/+2
2021-02-03Add lint for `panic!(123)` which is not accepted in Rust 2021.Mara Bos-1/+1
2021-01-31Move some tests to more reasonable directoriesCaio-0/+14
2021-01-18Rollup merge of #81071 - osa1:fix_81006, r=estebankAshley Mannix-0/+24
2021-01-17rustc_parse_format: Fix character indices in find_skipsÖmer Sinan Ağacan-0/+24
2021-01-17Force vec! to expressions onlyDániel Buga-0/+20
2021-01-16Move some tests to more reasonable directories - 2Caio-0/+77
2021-01-13Update tests for extern block lintingMark Rousskov-4/+10
2020-12-31Auto merge of #80459 - mark-i-m:or-pat-reg, r=petrochenkovbors-0/+14
2020-12-30Implement edition-based macro pat featuremark-0/+14
2020-12-29Remove `compile-fail` test suiteVadim Petrochenkov-38/+71
2020-12-22Revert "Promote missing_fragment_specifier to hard error"Wesley Wiser-0/+10
2020-12-19implement edition-specific :pat behavior for 2015/18mark-13/+18
2020-12-09Accept arbitrary expressions in key-value attributes at parse timeVadim Petrochenkov-3/+3
2020-12-02Tweak diagnostics on shadowing lifetimes/labelsYuki Okushi-1/+1
2020-11-29Update tests to remove old numeric constantsbstrie-1/+1
2020-11-26Fix new 'unnecessary trailing semicolon' warningsAaron Hill-2/+2
2020-11-23Qualify `panic!` as `core::panic!` in non-built-in `core` macrosCamelid-0/+13
2020-10-19Ignore panic_fmt lint in macro-comma-behavior-rpass ui test.Mara Bos-0/+1
2020-11-09add regression test for #78892SNCPlay42-0/+14
2020-11-02Treat trailing semicolon as a statement in macro callAaron Hill-0/+27
2020-10-25Rollup merge of #77984 - Aaron1011:fix/macro-mod-weird-parent, r=petrochenkovYuki Okushi-0/+25
2020-10-24Rollup merge of #78327 - petrochenkov:inconsist, r=Aaron1011Jonas Schievink-0/+25
2020-10-24Compute proper module parent during resolutionAaron Hill-0/+25
2020-10-24resolve: Relax macro resolution consistency check to account for any errorsVadim Petrochenkov-0/+25
2020-10-24Rollup merge of #78264 - JohnTitor:macro-test, r=petrochenkovJonas Schievink-0/+10
2020-10-23Auto merge of #77015 - davidtwco:check-attr-variant-closure-expr, r=lcnrbors-17/+1
2020-10-23Add regression test for issue-77475Yuki Okushi-0/+10
2020-09-30Re-run tests with --blessTemirkhan Myrzamadi-0/+3
2020-09-28passes: `check_attr` on more targetsDavid Wood-17/+1
2020-09-21Record `tcx.def_span` instead of `item.span` in crate metadataAaron Hill-8/+4
2020-09-12Auto merge of #73461 - calebzulawski:validate-attribute-placement, r=matthewj...bors-11/+9
2020-09-09Rollup merge of #75984 - kornelski:typeormodule, r=matthewjasperTyler Mandry-14/+14
2020-09-08Update testsGuillaume Gomez-1/+2
2020-09-05Allow #[cold], #[track_caller] on closures. Fix whitespace in error messages.Caleb Zulawski-15/+3
2020-09-05Emit warnings for misplaced attributes used by some cratesCaleb Zulawski-1/+4
2020-09-05Check placement of more attributesCaleb Zulawski-11/+18
2020-09-02Auto merge of #76160 - scileo:format-recovery, r=petrochenkovbors-2/+2
2020-09-02Improve recovery on malformed format callSasha-2/+2
2020-09-01Clarify message about unresolved useKornel-14/+14
2020-09-01Give a better error message for duplicate built-in macrosJoshua Nelson-3/+48
2020-08-27Abort when catch_unwind catches a foreign exceptionAmanieu d'Antras-17/+18
2020-08-18Promote missing_fragment_specifier to hard errorAleksey Kladov-10/+0
2020-08-18Move macro test to ui/macrosAleksey Kladov-0/+19
2020-08-02Auto merge of #74785 - euclio:deprecation-kinds, r=petrochenkovbors-8/+8
2020-07-27mv std libs to library/mark-3/+3
2020-07-26report kind of deprecated item in messageAndy Russell-8/+8
2020-07-01Rollup merge of #73569 - Aaron1011:fix/macro-rules-group, r=petrochenkovManish Goregaokar-0/+25
2020-07-01Insert NoDelim groups around nonterminals when lowering macro_rulesAaron Hill-0/+25
2020-06-30Stabilize `#[track_caller]`.Adam Perry-5/+3