Denying a const_err lint can hide the root cause site #73960
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following code snippet does not show the
T::ASSERT
site unless theconst_err
lint is allowed or set to warn only.I'm guessing the error on
T::ASSERT
is happening during codegen.(Playground)
Errors:
The text was updated successfully, but these errors were encountered: