about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-01-28 09:52:31 +0000
committerbors <bors@rust-lang.org>2019-01-28 09:52:31 +0000
commita21bd756889942cfed06dfd4ccd08838fc27ffdf (patch)
treefe7516c2eef44bfee19d7e8490e8accf835f6ccb /src/libsyntax/parse
parentcc4d1e5bb0c256c352a4d01112a55d93dcfa6081 (diff)
parent5f021e0023b3b471c5c9c39e07f70d344cc604b0 (diff)
downloadrust-a21bd756889942cfed06dfd4ccd08838fc27ffdf.tar.gz
rust-a21bd756889942cfed06dfd4ccd08838fc27ffdf.zip
Auto merge of #57899 - davidtwco:issue-56685, r=estebank
Unused variable suggestions apply on all patterns.

Fixes #56685.

This PR extends existing suggestions to prefix unused variable bindings in match arms with an underscore so that it applies to all patterns in a match arm.

r? @estebank
cc @alexcrichton (since you filed the issue)
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions