Ammar Askar <[email protected]> added the comment:
Just re-posting this here from the open PR. Rust's handling of this seems nice
and beginner friendly:
error: unterminated double quote string
--> src/main.rs:2:19
|
2 | let message = "Hello world
| ___________________^
3 | | println!(message);
4 | | }
| |_^
Like Serhiy suggested, it points to the /start/ of the string, rather than the
EOL and the message seems nice too.
----------
nosy: +ammar2
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40176>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com