Assert
MIR terminators are printed incorrectly
#71000
Labels
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
A-pretty
Area: Pretty printing (including `-Z unpretty`)
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Note how it says
"index out of bounds: the len is move _3 but the index is _2"
. The formatting arguments are inlined into the message.It should either mirror the
format!
string syntax, or at least use braces around the arguments so that they don't look like they're part of the string itself.This issue has been assigned to @robojumper via this comment.
The text was updated successfully, but these errors were encountered: