You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WIT 'use' statements are represented as Type::Id(_) Types in this codebase, and get
translated to Rust type aliases in the generated Rust bindings.
Since these aliases may be located at different module paths, creating a StreamPayload
or FuturePayload implementation for more than one of these paths will cause the Rust compiler
to complain about conflicting trait implementations for the same type.
This commit solves this issue by dealiasing payload types of the form Type::Id(_) when generating
a key for the future_payloads and stream_payloads maps. This means each alias set will have at
most one implementation of these traits.
Fixes issue 1432
0 commit comments