diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-12-16 15:56:47 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2020-02-06 21:46:38 +0200 |
| commit | 4c7eb59e8161fd7bd2da89fc8c8d73c32bcd789b (patch) | |
| tree | 128245179245a4e0941830062fab2978c1ba7876 /src/test/ui/half-open-range-patterns | |
| parent | ab080973cb3bfa96f71b7d29fc5c3e34893cf896 (diff) | |
| download | rust-4c7eb59e8161fd7bd2da89fc8c8d73c32bcd789b.tar.gz rust-4c7eb59e8161fd7bd2da89fc8c8d73c32bcd789b.zip | |
rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.
Diffstat (limited to 'src/test/ui/half-open-range-patterns')
| -rw-r--r-- | src/test/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/half-open-range-patterns/half-open-range-pats-inclusive-no-end.stderr | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.stderr b/src/test/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.stderr index ba2e7ea8b53..3a9c918cd37 100644 --- a/src/test/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.stderr +++ b/src/test/ui/half-open-range-patterns/half-open-range-pats-inclusive-dotdotdot-bad-syntax.stderr @@ -30,6 +30,8 @@ LL | let ...$e; ... LL | mac!(0); | -------- in this macro invocation + | + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 5 previous errors diff --git a/src/test/ui/half-open-range-patterns/half-open-range-pats-inclusive-no-end.stderr b/src/test/ui/half-open-range-patterns/half-open-range-pats-inclusive-no-end.stderr index 2bdb8ea5766..871c9b57e54 100644 --- a/src/test/ui/half-open-range-patterns/half-open-range-pats-inclusive-no-end.stderr +++ b/src/test/ui/half-open-range-patterns/half-open-range-pats-inclusive-no-end.stderr @@ -40,6 +40,7 @@ LL | mac!(0); | -------- in this macro invocation | = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0586]: inclusive range with no end --> $DIR/half-open-range-pats-inclusive-no-end.rs:21:19 @@ -51,6 +52,7 @@ LL | mac!(0); | -------- in this macro invocation | = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 6 previous errors |
