Compiler Error when working with Complex Types and Traits (sometimes) #141625
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
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.
Description
I found this compiler bug which keeps coming back every so often. When I delete my build directory are re-build, it seems to fix itself.
There is no code I could provide to give a repeatable error however the gist of what the code that seems to sometimes be breaking the compiler is doing is just passing data between structs where all the structs implement a trait.
The specific way this is being done is such that at the end of it all, I have a very nice type to work with that looks like the following:
A complete description of the data pipeline in one type signature, which is rust at its best in my opinion.
Though I suppose this abuse of the type system might be making some internal stuff upset.
I'm going to be backing up all the files in my working directory so maybe this can be re-created.
Again, having run into this error before (I think) the fix is to just delete all the files in the build directory and go from there.
If any more information is needed from me, I would be happy to help.
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: