aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres/raw.rs
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2020-05-08 21:12:16 +0100
committerFlorian Diebold <[email protected]>2020-05-08 21:14:01 +0100
commita3d866e776f43c1ae717740bf0c507f4d9fe47cb (patch)
treee82b33ba64c1e0b36b33470d4d516200c2924d49 /crates/ra_hir_def/src/nameres/raw.rs
parentf9ec7cebef732fbc9d4849d87d325efef5faadea (diff)
Handle coercing function types to function pointers in match
E.g. in ```rust match x { 1 => function1, 2 => function2, } ``` we need to try coercing both to pointers. Turns out this is a special case in rustc as well (see the link in the comment).
Diffstat (limited to 'crates/ra_hir_def/src/nameres/raw.rs')
0 files changed, 0 insertions, 0 deletions