Unsafe shenigans in constants can result in missing errors or ICE #49296
Labels
A-const-fn
Area: const fn foo(..) {..}. Pure functions which can be applied at compile time.
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
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.
produces
without any additional info. If the value is not dereferenced, but instead fed to llvm, we get an ICE in trans:
results in
Even though it should be reporting a dangling pointer const eval error
The text was updated successfully, but these errors were encountered: