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/expr | |
| parent | 475aec11886250ec93fbb6e8e1e3dbd4b35dfc89 (diff) | |
| download | rust-01b2379e4902658de68fcdca2a15b48fe4d57875.tar.gz rust-01b2379e4902658de68fcdca2a15b48fe4d57875.zip | |
Mention first and last macro in backtrace
Diffstat (limited to 'src/test/ui/expr')
| -rw-r--r-- | src/test/ui/expr/if/if-let.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/expr/if/if-let.stderr b/src/test/ui/expr/if/if-let.stderr index 3f3a2245834..8238b3f0e49 100644 --- a/src/test/ui/expr/if/if-let.stderr +++ b/src/test/ui/expr/if/if-let.stderr @@ -27,7 +27,7 @@ LL | | }); | = note: this pattern will always match, so the `if let` is useless = help: consider replacing the `if let` with a `let` - = 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 `if let` pattern --> $DIR/if-let.rs:26:8 |
