Skip to content
Unverified Commit 7cffe145 authored by John DiSanti's avatar John DiSanti Committed by GitHub
Browse files

Remove `toEnumVariantName` from `RustSymbolProvider` (#2377)

The `toEnumVariantName` function existed on symbol provider to work
around enum definitions not being shapes. In the future when we refactor
to use `EnumShape` instead of `EnumTrait`, there will be `MemberShape`s
for each enum member. This change incrementally moves us to that future
by creating fake `MemberShape`s in the enum generator from the enum
definition.
parent da264056
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment