rust-lang / rust-lang/rust

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

Open
#124,789 4 comments 0 reactions 1 assignee View on GitHub

@oli-obk is already working on this.

Since May 23, 2024.

A-const-eval C-bug T-compiler
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

It looks like https://github.com/rust-lang/rust/issues/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.^^

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.