0baf61bfdb
Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages.
14 lines
294 B
Plaintext
14 lines
294 B
Plaintext
error: unexpected token: `<-`
|
|
--> $DIR/placement-syntax.rs:3:9
|
|
|
|
|
LL | if x<-1 {
|
|
| ^^
|
|
|
|
|
help: if you meant to write a comparison against a negative value, add a space in between `<` and `-`
|
|
|
|
|
LL | if x< -1 {
|
|
| ^^^
|
|
|
|
error: aborting due to previous error
|
|
|