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
This issue came up when a downstream user attempted to implement an rkyv trait for their own types. It appears that using an associated type as the target of an impl is not treated as a conflicting impl in the defining crate, but is treated as a conflicting impl in any downstream crates.
still thanks for opening this PR ❤️ how can a bug existing since at least version 1.30 (which is the oldest one i have locally) get discovered twice in the span of 3 days.
i can't remember ever seeing this bug before #99940 😅
This issue came up when a downstream user attempted to implement an rkyv trait for their own types. It appears that using an associated type as the target of an impl is not treated as a conflicting impl in the defining crate, but is treated as a conflicting impl in any downstream crates.
I tried this code:
I expected to see this happen: the code compiles.
Instead, this happened:
Meta
rustc --version --verbose
:Credit to @Kixiron for discovering this issue.
The text was updated successfully, but these errors were encountered: