diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-04-17 13:17:44 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-21 15:49:46 +1100 |
| commit | 76b04437be91069260c72a6d59d130a4e127a9a8 (patch) | |
| tree | b2d617e3d886a4203e436680301e93927684e605 /tests/ui/parser/macro/trait-object-macro-matcher.rs | |
| parent | c7981d64117a4e1228e94ddc47a16d171a011c0b (diff) | |
| download | rust-76b04437be91069260c72a6d59d130a4e127a9a8.tar.gz rust-76b04437be91069260c72a6d59d130a4e127a9a8.zip | |
Remove `NtTy`.
Notes about tests: - tests/ui/parser/macro/trait-object-macro-matcher.rs: the syntax error is duplicated, because it occurs now when parsing the decl macro input, and also when parsing the expanded decl macro. But this won't show up for normal users due to error de-duplication. - tests/ui/associated-consts/issue-93835.rs: similar, plus there are some additional errors about this very broken code. - The changes to metavariable descriptions in #132629 are now visible in error message for several tests.
Diffstat (limited to 'tests/ui/parser/macro/trait-object-macro-matcher.rs')
| -rw-r--r-- | tests/ui/parser/macro/trait-object-macro-matcher.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/parser/macro/trait-object-macro-matcher.rs b/tests/ui/parser/macro/trait-object-macro-matcher.rs index 560195977d0..d4ec199070e 100644 --- a/tests/ui/parser/macro/trait-object-macro-matcher.rs +++ b/tests/ui/parser/macro/trait-object-macro-matcher.rs @@ -10,5 +10,6 @@ macro_rules! m { fn main() { m!('static); //~^ ERROR lifetime in trait object type must be followed by `+` + //~| ERROR lifetime in trait object type must be followed by `+` //~| ERROR at least one trait is required for an object type } |
