Skip to content

ICE when calling function as part of vector initializer #5052

@jdm

Description

@jdm
rusti> let a = [0, ..ptr::null()];
rust: task failed at 'Unsupported constant expr', /run/media/jdm/ssd/rust/src/librustc/middle/const_eval.rs:236

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions