Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Conversation

nhaef
Copy link
Contributor

@nhaef nhaef commented Mar 10, 2025

fixes #756 by using a qualified path for core::result::Result::Ok.

@VictorKoenders
Copy link
Contributor

Can you add a test for this too? Something like:

fn Ok(){}

#[derive(Encode, Decode)]
struct A { a: u32 }

#[derive(Encode, Decode)]
enum B { A, B }

@ZoeyR ZoeyR merged commit bd99729 into bincode-org:trunk Mar 10, 2025
100 of 101 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bincode_derive's Encode and Decode proc macros fail if module declares use anyhow::Ok

3 participants