aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/inline/ok/0151_fn.rast
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-02-13 15:56:17 +0000
committerGitHub <[email protected]>2021-02-13 15:56:17 +0000
commit2967e783ac53e89f06a8f8bd1afc12433311fded (patch)
treed46451d2029fe7842a654feec4c1bbf8246d1829 /crates/syntax/test_data/parser/inline/ok/0151_fn.rast
parent11ebbac3a4a962701639bb14a4a5a7309399d7e8 (diff)
parentb07f530e3ae025c57b2b64e8ebb2852e60bced7b (diff)
Merge #7659
7659: Improve "Generate From impl" r=Veykril a=jDomantas * Allows any field type. Previously it was restricted to path types, but I don't see why it couldn't apply to all other types too. (the main reason for is PR is that I'm too lazy to write out `From<&'static str>` by hand 😄) * More correct handling for generic enums - previously it wouldn't emit generic params on the impl. * Also accepts variants with named field. The impl generation code got mostly copy-pasted from generate_impl assist - please tell if there's an easy way to avoid this duplication. Co-authored-by: Domantas Jadenkus <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/parser/inline/ok/0151_fn.rast')
0 files changed, 0 insertions, 0 deletions