Closed
Description
Given the following code (playground):
fn main() {
let _s = '"""';
}
The current output is:
error: character literal may only contain one codepoint
--> src/main.rs:2:14
|
2 | let _s = '"""';
| ^^^^^
|
help: if you meant to write a `str` literal, use double quotes
|
2 | let _s = """"";
| ~~~~~
Ideally the suggestion should look like:
help: if you meant to write a `str` literal, use double quotes
|
2 | let _s = "\"\"\"";
| ~~~~~~~~