@@ -38,7 +38,7 @@ LL | more code
38
38
- Primary and secondary spans underlying the users' code. These spans can
39
39
optionally contain one or more labels.
40
40
- Primary spans should have enough text to describe the problem in such a
41
- way that if it where the only thing being displayed (for example, in an
41
+ way that if it were the only thing being displayed (for example, in an
42
42
IDE) it would still make sense. Because it is "spatially aware" (it
43
43
points at the code), it can generally be more succinct than the error
44
44
message.
@@ -61,7 +61,7 @@ error: the fobrulator needs to be krontrificated
61
61
```
62
62
63
63
When code or an identifier must appear in a message or label, it should be
64
- surrounded with single acute accents \ ` .
64
+ surrounded with backticks: `` `foo.bar` ` ` .
65
65
66
66
### Error explanations
67
67
@@ -449,8 +449,8 @@ The possible values of [`Applicability`][appl] are:
449
449
450
450
- ` MachineApplicable ` : Can be applied mechanically.
451
451
- ` HasPlaceholders ` : Cannot be applied mechanically because it has placeholder
452
- text in the suggestions. For example, "Try adding a type: \ ` let x:
453
- \ < type\>\` " .
452
+ text in the suggestions. For example: ``try adding a type: `let x:
453
+ <type >` `` .
454
454
- ` MaybeIncorrect ` : Cannot be applied mechanically because the suggestion may
455
455
or may not be a good one.
456
456
- ` Unspecified ` : Cannot be applied mechanically because we don't know which
0 commit comments