Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ambiguous associated item error #4725

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 21, 2024

  1. Add test for ambiguous associated item

    The `#[pyclass]` macro implements `IntoPyObject` for the annotated enum.
    When the enum has any of `Error`, `Output` or `Target` as members, this
    clashes with the associated types of `IntoPyObject`.
    LilyFoote committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    7fdbf5a View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. Fix #4723: ambiguous associated item in #[pyclass]

    This uses the fix described in rust-lang/rust#57644
    LilyFoote committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    d7d5b54 View commit details
    Browse the repository at this point in the history