Skip to content

[ICE] librustc_traits/normalize_erasing_regions.rs:53: could not fully normalize #54114

Closed
@WesleyAC

Description

@WesleyAC

I have the following ICE:

error: internal compiler error: librustc_traits/normalize_erasing_regions.rs:53: could not fully normalize `fn() -> usize {std::mem::size_of::<wire::arp::Body<<AD as device::arp::ArpDevice<P>>::HardwareAddr, P>>}`

The full output of cargo build with RUST_BACKTRACE=1 is attached. This looks like it could be a regression of #49685

This is for the repo at https://fuchsia-review.googlesource.com/c/garnet/+/194882 - you should be able to cd into bin/recovery_netstack/core/ and run cargo build to get this error.

cc: @cramertj and @cavedweller

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)C-bugCategory: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions