-
Notifications
You must be signed in to change notification settings - Fork 966
Closed
Labels
C-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICE
Milestone
Description
When formatting source code location errors, the formatting in the stdin case depends on the error level:
- case of a formatting error:
<stdin>:line:column
--> <stdin>:14:33
|
14 | .takes_ value(true)
| ^^^^^ expected one of `)`, `,`, `.`, `::`, `?`, or an operator here
- case of an internal error:
stdin:line:column
error[internal]: left behind trailing whitespace
--> stdin:13:13:0
|
13 |
| ^^^^^^^^^^^^^^^^
|
This is confusing for anyone that consumes the output of the command (rust-lang/rust-mode#365)
Metadata
Metadata
Assignees
Labels
C-bugCategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICECategory: this is a bug; use also I-* labels for specific bug kinds, e.g. I-non-idempotency or I-ICE