diff options
| author | Michael Goulet <michael@errs.io> | 2022-06-20 19:25:52 -0700 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-07-19 03:07:54 +0000 |
| commit | 01b2379e4902658de68fcdca2a15b48fe4d57875 (patch) | |
| tree | 4870efd0d9315ad6188f1c5f5ee763823ebd1afc /src/test/ui/for-loop-while | |
| parent | 475aec11886250ec93fbb6e8e1e3dbd4b35dfc89 (diff) | |
| download | rust-01b2379e4902658de68fcdca2a15b48fe4d57875.tar.gz rust-01b2379e4902658de68fcdca2a15b48fe4d57875.zip | |
Mention first and last macro in backtrace
Diffstat (limited to 'src/test/ui/for-loop-while')
| -rw-r--r-- | src/test/ui/for-loop-while/while-let-2.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/for-loop-while/while-let-2.stderr b/src/test/ui/for-loop-while/while-let-2.stderr index cb1abd43571..2d23a637361 100644 --- a/src/test/ui/for-loop-while/while-let-2.stderr +++ b/src/test/ui/for-loop-while/while-let-2.stderr @@ -27,7 +27,7 @@ LL | | }); | = note: this pattern will always match, so the loop will never exit = help: consider instead using a `loop { ... }` with a `let` inside it - = note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this warning originates in the macro `foo` which comes from the expansion of the macro `bar` (in Nightly builds, run with -Z macro-backtrace for more info) warning: irrefutable `while let` pattern --> $DIR/while-let-2.rs:27:11 |
