summaryrefslogtreecommitdiff
path: root/src/codegen/struct_layout.rs
diff options
context:
space:
mode:
authorTravis Finkenauer <tmfinken@gmail.com>2018-03-11 18:26:31 -0400
committerTravis Finkenauer <tmfinken@gmail.com>2018-03-11 18:26:31 -0400
commit7b99b2512921fd7540a0b8f9717c6e38fec376e1 (patch)
treec8223a3ab4f74af1236703a05ec5cedbdd9d4db1 /src/codegen/struct_layout.rs
parentf36f4e3e38d5a4f9c712a5bbde68403ce716dab6 (diff)
Fix bug when enum matched multiple types
If an enum matched a pattern for rustified enum and constified module enum, then rust code would fail to compile with "ambiguous associated type" error. We fix the error by giving constified module enum "higher precedence". Fixes issue #1198
Diffstat (limited to 'src/codegen/struct_layout.rs')
0 files changed, 0 insertions, 0 deletions