Skip to content

#![feature(effects)] causes ICE #118628

Closed as not planned
Closed as not planned
@peter-lyons-kehl

Description

@peter-lyons-kehl

Long story: I'm rebasing my fork of Rust, mostly modified in library/alloc and library/core in 2023. I'm rebasing it on around 1 month old Rust master: 152a4e9. (I will re-base on the current master, I'll re-run and update here.)

My added/modified library/core code uses #[const_trait]. So I've added #![feature(effects)] to library/core/src/lib.rs. Then the attached ICE happens.

(The actual fork of Rust is out of scope here, but FYI https://github.com/coop-rs/rust/wiki https://github.com/coop-rs/rust - not on master, but being developed on https://github.com/coop-rs/rust/tree/07_vec_macroed_squash_fmt_workaround - but that is not the branch that triggers this).

UPDATE: My actual branch that triggers this ICE is: https://github.com/coop-rs/rust/tree/07_vec_macroed_squash_fmt_workaround_old_master_ice.

rustc-ice-2023-12-05T01:17:14.315936466Z-111587.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    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