diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-11-21 18:02:37 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-11-22 14:42:29 +0300 |
| commit | 27af650a0df2975fba5a8ae3e1a42eada0ff7bd4 (patch) | |
| tree | 4a1f91150f6d002c6320c204f737e4b18f0ecbbf /src/test/ui/parser | |
| parent | 6667c6637d6d91e76e4b2879c412e63c6eceb4b3 (diff) | |
| download | rust-27af650a0df2975fba5a8ae3e1a42eada0ff7bd4.tar.gz rust-27af650a0df2975fba5a8ae3e1a42eada0ff7bd4.zip | |
resolve: Do not put macros into `module.unexpanded_invocations` unless necessary
Diffstat (limited to 'src/test/ui/parser')
| -rw-r--r-- | src/test/ui/parser/default-unmatched-assoc.stderr | 4 | ||||
| -rw-r--r-- | src/test/ui/parser/issue-65122-mac-invoc-in-mut-patterns.stderr | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/parser/default-unmatched-assoc.stderr b/src/test/ui/parser/default-unmatched-assoc.stderr index c8d1769cb5a..ee35fded99e 100644 --- a/src/test/ui/parser/default-unmatched-assoc.stderr +++ b/src/test/ui/parser/default-unmatched-assoc.stderr @@ -39,13 +39,13 @@ LL | } | - item list ends here error: cannot find macro `default` in this scope - --> $DIR/default-unmatched-assoc.rs:12:5 + --> $DIR/default-unmatched-assoc.rs:4:5 | LL | default!(); | ^^^^^^^ error: cannot find macro `default` in this scope - --> $DIR/default-unmatched-assoc.rs:4:5 + --> $DIR/default-unmatched-assoc.rs:12:5 | LL | default!(); | ^^^^^^^ diff --git a/src/test/ui/parser/issue-65122-mac-invoc-in-mut-patterns.stderr b/src/test/ui/parser/issue-65122-mac-invoc-in-mut-patterns.stderr index 40599d228b2..16a08b9b856 100644 --- a/src/test/ui/parser/issue-65122-mac-invoc-in-mut-patterns.stderr +++ b/src/test/ui/parser/issue-65122-mac-invoc-in-mut-patterns.stderr @@ -34,15 +34,15 @@ LL | mac2! { does_not_exist!() } = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: cannot find macro `does_not_exist` in this scope - --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:20:13 + --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:22:13 | -LL | mac1! { does_not_exist!() } +LL | mac2! { does_not_exist!() } | ^^^^^^^^^^^^^^ error: cannot find macro `does_not_exist` in this scope - --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:22:13 + --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:20:13 | -LL | mac2! { does_not_exist!() } +LL | mac1! { does_not_exist!() } | ^^^^^^^^^^^^^^ error: aborting due to 5 previous errors |
