Conflicting implementations of trait Clone for type <type> #479
Labels
No labels
bug
good first issue
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-bitflags/bitflags#479
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
When I tried to build a project that requires bitflags, it kept on failing to build if the version of bitflags was specifically v2.11.0. For whatever reason, this version is tie culprit for the build errors.
Additional Context
Examples
Tauri:
RT Game Engine (from the WebGPU website):
Hi @FalkRaft 👋
I’m on vacation right now so can’t dig in fully, but the issue appears to be here:
The
1.xversion ofbitflagswould deriveClonefor you, but the2.xversion requires you derive it yourself. If we can track down throughcargo treewho depends on1.xwe can try get them updated.It’s odd that your dependencies would be failing to build there though, are you specifying
bitflagsas a patch dependency in yourCargo.toml?I wasn't specifying it as a patch dependency in my
Cargo.tomlfile, in fact, some dependencies have bitflags as a sub-dependency.Just checking back in here; did you end up working around this or is it still an issue @FalkRaft?