granite-rust/compiler/rustc_parse
Nicholas Nethercote ff7d5ba65e Move doc comment desugaring out of TokenCursor.
`TokenCursor` currently does doc comment desugaring on the fly, if the
`desugar_doc_comment` field is set. This requires also modifying the
token stream on the fly with `replace_prev_and_rewind`.

This commit moves the doc comment desugaring out of `TokenCursor`, by
introducing a new `TokenStream::desugar_doc_comment` method. This
separation of desugaring and iterating makes the code nicer.
2023-07-31 14:47:03 +10:00
..
src Move doc comment desugaring out of TokenCursor. 2023-07-31 14:47:03 +10:00
Cargo.toml Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00:00
messages.ftl Auto merge of #114028 - Centri3:ternary-operator, r=compiler-errors 2023-07-29 16:45:29 +00:00