Nightly rejects panic!(..) invocation which is accepted by stable with "cannot call non-const formatting macro in constants" #140585
Labels
C-discussion
Category: Discussion or questions that doesn't represent real issues.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Code
I tried this code:
Playground
I expected to see this happen: Compiles without error.
Instead, this happened:
Version it worked on
It most recently worked on: 1.87 (beta).
Version with regression
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: