erroneous note: erroneous constant used
emitted for non-compiling format_args!
usage
#110856
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
P-medium
Medium priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: an error about not being able to move out of a slice
Instead, this happened: the error and a bunch of
note: erroneous constant used
Meta
Fails on
1.71.0-nightly (2023-04-25 458d4dae845ec155b285)
, works fine on1.70.0-beta.1 (2023-04-19 1b7dd2252b99671ce5d1)
The text was updated successfully, but these errors were encountered: