diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-08 21:37:14 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-08 21:37:14 +0100 |
commit | 1acb556907027622a07189aefa627502f6500b5a (patch) | |
tree | e82b33ba64c1e0b36b33470d4d516200c2924d49 /crates/ra_syntax/src/ast/generated/tokens.rs | |
parent | f9ec7cebef732fbc9d4849d87d325efef5faadea (diff) | |
parent | a3d866e776f43c1ae717740bf0c507f4d9fe47cb (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_syntax/src/ast/generated/tokens.rs')
0 files changed, 0 insertions, 0 deletions