Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup checking for existing impls in impl From assist | Matthew Hall | 2020-04-02 | 1 | -15/+3 |
| | | | | | Use the trait solver to check if there's an existing implementation of From<type_in_enum_variant> for the enum. | ||||
* | Add impl From for enum variant assist | Matthew Hall | 2020-04-01 | 1 | -0/+218 |
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. |