review comment: str
-> string in messages
This commit is contained in:
parent
4a10b01f95
commit
999a0dc300
18 changed files with 29 additions and 29 deletions
|
@ -419,7 +419,7 @@ impl<'psess, 'src> StringReader<'psess, 'src> {
|
|||
.with_code(E0762);
|
||||
if let Some(lt_sp) = self.last_lifetime {
|
||||
err.multipart_suggestion(
|
||||
"if you meant to write a `str` literal, use double quotes",
|
||||
"if you meant to write a string literal, use double quotes",
|
||||
vec![
|
||||
(lt_sp, "\"".to_string()),
|
||||
(self.mk_sp(start, start + BytePos(1)), "\"".to_string()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue