Skip to content

const_eval: treat UnsafeBinder as compound in validity checks#572

Open
SebTardif wants to merge 1 commit into
mainfrom
fix-const-eval-unsafe-binder-validity
Open

const_eval: treat UnsafeBinder as compound in validity checks#572
SebTardif wants to merge 1 commit into
mainfrom
fix-const-eval-unsafe-binder-validity

Conversation

@SebTardif

Copy link
Copy Markdown
Owner

Summary

Replace todo!(\"FIXME(unsafe_binder)\") in const_eval validity with interp_ok(false) so the checker visits the inner/compound value like other non-primitive types.

Closes #570
Related: #567

Test plan

  • Structural match with Adt/Closure/Coroutine compound arms

Replace todo!() with interp_ok(false) so the validator visits the inner
value like other non-primitive types (Adt/Closure/Coroutine/etc.).

Part of #567

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

const_eval: validity todo!() ICE on ty::UnsafeBinder

1 participant