rust/src/librustc_parse
bors b51651ae9d Auto merge of #75642 - matklad:lexer-comments, r=petrochenkov
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
2020-08-21 06:05:39 +00:00
..
lexer Auto merge of #75642 - matklad:lexer-comments, r=petrochenkov 2020-08-21 06:05:39 +00:00
parser Capture tokens for Pat used in macro_rules! argument 2020-08-20 02:45:28 -04:00
Cargo.toml replaced log with tracing 2020-08-15 13:03:11 -07:00
lib.rs Capture tokens for Pat used in macro_rules! argument 2020-08-20 02:45:28 -04:00
validate_attr.rs rust_ast::ast => rustc_ast 2020-08-17 20:32:32 +00:00