rust/tests/ui/parser/macro
Trevor Gross b9e9be38c0 mbe: Clean up code with non-optional NonterminalKind
Since [1], the fragment specifier is unconditionally required in all
editions. This means `NonTerminalKind` no longer needs to be optional,
as we can reject this code during the expansion of `macro_rules!` rather
than handling it throughout the code. Do this cleanup here.

[1]: https://github.com/rust-lang/rust/pull/128425
2025-06-24 04:37:36 -04:00
..
auxiliary Report text_direction_codepoint_in_literal when parsing 2025-05-27 15:57:41 +00:00
bad-macro-argument.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-macro-argument.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-33569.rs mbe: Clean up code with non-optional NonterminalKind 2025-06-24 04:37:36 -04:00
issue-33569.stderr mbe: Clean up code with non-optional NonterminalKind 2025-06-24 04:37:36 -04:00
issue-37113.rs Remove NtTy. 2025-02-21 15:49:46 +11:00
issue-37113.stderr Remove NtTy. 2025-02-21 15:49:46 +11:00
issue-37234.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-37234.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
literals-are-validated-before-expansion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
literals-are-validated-before-expansion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-doc-comments-1.rs Tweak more warnings. 2024-10-28 14:20:28 +11:00
macro-doc-comments-1.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
macro-doc-comments-2.rs Tweak more warnings. 2024-10-28 14:20:28 +11:00
macro-doc-comments-2.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
macro-expand-to-field.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
macro-expand-to-field.stderr discard dummy field for macro invocation when parse struct 2023-08-21 21:05:01 +08:00
macro-expand-to-match-arm.rs Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
macro-expand-to-match-arm.stderr Fix "missing match arm body" suggestion involving ! 2025-02-22 18:30:14 +00:00
macro-incomplete-parse.rs Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
macro-incomplete-parse.stderr Tweak expand_incomplete_parse warning. 2024-10-28 14:12:45 +11:00
macro-repeat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-repeat.stderr Spruce up the diagnostics of some early lints 2024-06-03 07:25:32 +02:00
mbe-bare-trait-object-maybe-trait-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mbe-dotdotdot-may-not-begin-a-type.rs Reject CVarArgs in parse_ty_for_where_clause 2024-06-01 20:57:15 +02:00
pub-item-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-item-macro.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
statement-boundaries.rs Add parser tests for statement boundary insertion 2024-05-11 15:49:50 -07:00
trait-non-item-macros.rs Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11:00
trait-non-item-macros.stderr Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11:00
trait-object-macro-matcher.e2015.stderr Improve parse errors for lifetimes in type position 2025-04-15 10:08:36 +02:00
trait-object-macro-matcher.e2021.stderr Improve parse errors for lifetimes in type position 2025-04-15 10:08:36 +02:00
trait-object-macro-matcher.rs Improve parse errors for lifetimes in type position 2025-04-15 10:08:36 +02:00
unicode-control-codepoints-macros.rs Report text_direction_codepoint_in_literal when parsing 2025-05-27 15:57:41 +00:00
unicode-control-codepoints-macros.stderr Report text_direction_codepoint_in_literal when parsing 2025-05-27 15:57:41 +00:00