diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-02-15 01:50:26 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-02-15 20:57:12 +0100 |
| commit | f8d2264463162291f5cb3391c98d7bc95ec17d87 (patch) | |
| tree | 513c6f3eae554053189a205993fe56db960b6462 /src/test/ui/parser/macro | |
| parent | 1c2906ead3825c013ac022249f1e1ee3a3b97c75 (diff) | |
| download | rust-f8d2264463162291f5cb3391c98d7bc95ec17d87.tar.gz rust-f8d2264463162291f5cb3391c98d7bc95ec17d87.zip | |
parse associated statics.
Diffstat (limited to 'src/test/ui/parser/macro')
| -rw-r--r-- | src/test/ui/parser/macro/trait-non-item-macros.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/parser/macro/trait-non-item-macros.stderr b/src/test/ui/parser/macro/trait-non-item-macros.stderr index 9d05e85bcc0..c76b096a1eb 100644 --- a/src/test/ui/parser/macro/trait-non-item-macros.stderr +++ b/src/test/ui/parser/macro/trait-non-item-macros.stderr @@ -1,8 +1,8 @@ -error: expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `type`, `unsafe`, or identifier, found `2` +error: expected one of `async`, `const`, `crate`, `default`, `extern`, `fn`, `pub`, `static`, `type`, `unsafe`, or identifier, found `2` --> $DIR/trait-non-item-macros.rs:2:19 | LL | ($a:expr) => ($a) - | ^^ expected one of 10 possible tokens + | ^^ expected one of 11 possible tokens ... LL | bah!(2); | -------- in this macro invocation |
