* Done at line 243: "Add validation of `crate` keyword not appearing in the middle of the symbol path"
* Already happened: "Remove validation of unterminated literals (it is already implemented in `tokenize()`)"
* Happens in `unescape()`: "Add validation of character literal containing only a single char"
* Missing: "raw string literals and raw byte string literals"
pub(crate) fn validate(root: &SyntaxNode) -> Vec<SyntaxError> {
// FIXME:
pub(crate) fn validate(root: &SyntaxNode) -> Vec<SyntaxError> {
// FIXME:
- // * Add validation of character literal containing only a single char
- // * Add validation of `crate` keyword not appearing in the middle of the symbol path
+ // * Add unescape validation of raw string literals and raw byte string literals
// * Add validation of doc comments are being attached to nodes
// * Add validation of doc comments are being attached to nodes
- // * Remove validation of unterminated literals (it is already implemented in `tokenize()`)
let mut errors = Vec::new();
for node in root.descendants() {
let mut errors = Vec::new();
for node in root.descendants() {