Skip to content

coerce fndef to ptr ignores nested alias relate #212

Closed
rust-lang/rust
#141334
@lcnr

Description

@lcnr
fn foo<const N: usize>() {}
fn main() {
    let _ = if true { foo::<{ 0 + 0 }> } else { foo::<1> };
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    from-craterA regression found via a crater run, not part of our test suite

    Type

    No type

    Projects

    Status

    done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions