Skip to content

The const-eval interpreter is called on incomplete/invalid/ill-formed code #124789

Open
4 of 5 issues completed
@RalfJung

Description

@RalfJung

It looks like #76064 is back. This is the source of countless ICEs. Just in the last few weeks:

As member of @rust-lang/wg-const-eval my position is that generally these are not const-eval bugs, but bugs in whatever part of the compiler is passing invalid data to const-eval. However, which part would that be? I am not sure whom to ping for this.^^

Sub-issues

Metadata

Metadata

Assignees

Labels

A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions