about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-01-21 02:21:57 +0100
committerGitHub <noreply@github.com>2019-01-21 02:21:57 +0100
commit74b8cd4957de3a7208b4a38cb82a0003c832f88a (patch)
treef1584550808c98454167570530c839a13d142ca4 /src/libsyntax/parse/parser.rs
parent3bb9fc4007405f76a3807cc268b3c1c5f1067e52 (diff)
parentf13fe5f3f7e2e2ed689967e818ffadc9cdba8af6 (diff)
downloadrust-74b8cd4957de3a7208b4a38cb82a0003c832f88a.tar.gz
rust-74b8cd4957de3a7208b4a38cb82a0003c832f88a.zip
Rollup merge of #57783 - davidtwco:issue-57741, r=estebank
Add "dereference boxed value" suggestion.

Contributes to #57741.

This PR adds a `help: consider dereferencing the boxed value` suggestion to discriminants of match statements when the match arms have type `T` and the discriminant has type `Box<T>`.

r? @estebank
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions