Move doc comment parsing to rustc_lexer Plain comments are trivia, while doc comments are not, so it feels like this belongs to the rustc_lexer. The specific reason to do this is the desire to use rustc_lexer in rustdoc for syntax highlighting, without duplicating "is this a doc comment?" logic there. r? @ghost |
||
|---|---|---|
| .. | ||
| lexer | ||
| parser | ||
| Cargo.toml | ||
| lib.rs | ||
| validate_attr.rs | ||