Auto merge of #83639 - osa1:issue83638, r=estebank
Replace tabs in err messages before rendering This is done in other call sites, but was missing in one place. Fixes #83638
This commit is contained in:
commit
926ec1cb8b
3 changed files with 15 additions and 1 deletions
6
src/test/ui/issue-83639.rs
Normal file
6
src/test/ui/issue-83639.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// check-fail
|
||||
// ignore-tidy-tab
|
||||
|
||||
fn main() {
|
||||
""" " //~ ERROR
|
||||
}
|
||||
8
src/test/ui/issue-83639.stderr
Normal file
8
src/test/ui/issue-83639.stderr
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `" "`
|
||||
--> $DIR/issue-83639.rs:5:7
|
||||
|
|
||||
LL | """ "
|
||||
| ^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue