Open
Description
We should make dbg!(expr)
work in const fn
by using some lang_item
that is on the body of a function that contains the contents of dbg!(...)
. We also need to make it work with inlining.
This sorta needs impl const Debug
to work, but in the meantime we can just dump the miri state something something, @oli-obk can fill in...
Metadata
Metadata
Assignees
Labels
Area: Constant evaluation, covers all const contexts (static, const fn, ...)Area: `core::fmt`Category: An issue tracking the progress of sth. like the implementation of an RFCLibs issues that are tracked on the team's project board.Status: Blocked on something else such as an RFC or other implementation work.Status: There are blocking design concerns.Relevant to the language team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.This change is large or controversial enough that it should have an RFC accepted before doing it.