ICE: primitive read not possible for type: fn(usize) -> bool {not_one}
#137656
Labels
C-bug
Category: This is a bug.
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
F-min_generic_const_args
`#![feature(min_generic_const_args)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
auto-reduced (treereduce-rust):
original code
original:
Version information
Possibly related line of code:
rust/compiler/rustc_const_eval/src/interpret/operand.rs
Lines 655 to 667 in cb06d12
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc -Zcrate-attr=feature(generic_const_exprs) -Zcrate-attr=feature(min_generic_const_args)
Program output
@rustbot label +F-generic_const_exprs +F-min_generic_const_args
The text was updated successfully, but these errors were encountered: