aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/generics.rs
diff options
context:
space:
mode:
authorMatthew Hall <[email protected]>2020-04-01 22:26:41 +0100
committerMatthew Hall <[email protected]>2020-04-01 22:26:41 +0100
commit1fee60181fea56ebe6b5e4aeb11cf9df25a1d087 (patch)
tree0a157b2f478a2b4334167da483f401d0ba5e4938 /crates/ra_hir_def/src/generics.rs
parent1c2d4135db867efe335a0654d86429bea7bb9caf (diff)
Add impl From for enum variant assist
Basically adds a From impl for tuple enum variants with one field. Added to cover the fairly common case of implementing your own Error that can be created from another one, although other use cases exist.
Diffstat (limited to 'crates/ra_hir_def/src/generics.rs')
0 files changed, 0 insertions, 0 deletions