Skip to content

Fill match arms duplicates arm with imported variants #15147

Open
@lnicola

Description

@lnicola

Spotted in #15143.

            ProjectionElem::Field(f) => match &base.data(Interner).kind {
                TyKind::Adt(_, subst) => {
                    db.field_types(f.parent)[f.local_id].clone().substitute(Interner, subst)
                }
                chalk_ir::TyKind::Adt(_, _) => todo!(),
                // ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions