T005error

Invalid rune literal

A rune literal does not contain exactly one character.

A rune literal, written r'x', holds a single character or a single escape sequence. An empty literal or one with several characters is rejected.

Put exactly one character between the quotes, or use a string if you need more.

$ piko explain T005

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeInvalidRuneLiteral in Piko's source to see where it is reported.