Use backticks for code in red-knot messages (#13599)

## Summary

...and remove periods from messages that don't span more than a single
sentence.

This is more consistent with how we present user-facing messages in uv
(which has a defined style guide).
This commit is contained in:
Charlie Marsh 2024-10-01 23:14:28 -04:00 committed by GitHub
parent ef45185dbc
commit c3b40da0d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 156 additions and 156 deletions

View file

@ -878,9 +878,9 @@ mod tests {
[group(&format_args![
token("("),
soft_block_indent(&format_args![
source_text_slice(TextRange::at(TextSize::new(0), TextSize::new(19)),),
source_text_slice(TextRange::at(TextSize::new(0), TextSize::new(19))),
space(),
source_text_slice(TextRange::at(TextSize::new(20), TextSize::new(28)),),
source_text_slice(TextRange::at(TextSize::new(20), TextSize::new(28))),
])
])]
)