Skip to content

blanket impl handling for not-yet-defined opaque types is not uwu #229

Description

@lcnr

cc rust-lang/rust#146329

see tests/ui/impl-trait/non-defining-uses/avoid-inference-constraints-from-blanket-2.rs

should revisit pre stabilization

ideally only use blanket impls if their only inference constraints are from using item bounds of opaques. Something something introduce MaybeCause::OpaqueTypeGuidance :3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions