Skip to content

ICE using type_alias_impl_trait feature #68368

Closed
@shika-blyat

Description

@shika-blyat

To reproduce the bug:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=ce41fb8579806a997fb5f0830e30a874

Compiler version:
rustc 1.42.0-nightly (1ce08f9 2020-01-18) running on x86_64-unknown-linux-gnu

I also don't understand the error message:
error: type parameter impl Fn(char) -> boolis part of concrete type but not used in parameter list for theimpl Trait type alias

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-impl-traitArea: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch.C-bugCategory: This is a bug.F-type_alias_impl_trait`#[feature(type_alias_impl_trait)]`I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️P-mediumMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.glacierICE tracked in rust-lang/glacier.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions