本頁尚未翻譯,以下為英文原文。
#E0005: unterminated literal or comment
A string, character, byte string, f-string, raw string or block comment starts but never ends. Add the closing quote or */. A raw string closes with as many # as it opened with.
nabi
/* the greeting
println("hi");
error[E0005]: unterminated block comment --> main.nabi:1:1 | 1 | /* the greeting | ^^^^^^^^^^^^^^^
Close the comment:
nabi
/* the greeting */
println("hi");
hi
Related: E0006 invalid escape in a literal, E0010 unexpected token
Found a mistake? Edit this page on GitHub. Last updated