Computing and checking generics of type which uses const generics #87674
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
F-const_generics
`#![feature(const_generics)]`
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
I tried simplifying my code, but the code is quite complex and I wasn't able to recreate the ICE. Here is the repo which you can try building to see it for yourself: https://github.com/ViliamVadocz/Onitama-Alpha-Zero
The main source of the issue is my Tensor structs which look similar to the below code. I have had issues with this in the past. The ICE started happening after I added convolution with fft. I use a
const fn
to simplify writing the types. Maybe it's related? Sorry for the code mess; I didn't plan to show this code to other people.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: