diff options
author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-10-14 16:19:16 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 16:19:16 +0530 |
commit | 7cf09c57a21110a4ef76ee4fe1cba960806fd42d (patch) | |
tree | b95ae3a4db742d337565230878b5ca00b86008e5 /tests/rustdoc-js-std/parser-errors.js | |
parent | 587b9c1a978e4f73ba1696ceb12a25c4b46af5fe (diff) | |
parent | eab41a136a86d98f8f4cc87b5c76583f58daca8d (diff) | |
download | rust-7cf09c57a21110a4ef76ee4fe1cba960806fd42d.tar.gz |
Rollup merge of #103031 - est31:match_guard_irrefutable_let, r=oli-obk
Suppress irrefutable let patterns lint for prefixes in match guards
In match guards, irrefutable prefixes might use the bindings created by the match pattern. Ideally, we check for this, but we can do the next best thing and just not lint for irrefutable prefixes in match guards.
Fixes #98361
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions