aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src/parser.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-05-08 21:37:14 +0100
committerGitHub <[email protected]>2020-05-08 21:37:14 +0100
commit1acb556907027622a07189aefa627502f6500b5a (patch)
treee82b33ba64c1e0b36b33470d4d516200c2924d49 /crates/ra_mbe/src/parser.rs
parentf9ec7cebef732fbc9d4849d87d325efef5faadea (diff)
parenta3d866e776f43c1ae717740bf0c507f4d9fe47cb (diff)
Merge #4379
4379: Handle coercing function types to function pointers in match r=matklad a=flodiebold 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). Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_mbe/src/parser.rs')
0 files changed, 0 insertions, 0 deletions