diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-26 09:17:16 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-26 12:44:49 +1000 |
| commit | 395e95c4900367930af2f18c9a53ce18ed55d5d5 (patch) | |
| tree | d3990609fbaa5f6bb4bc5966805772475b6e7123 /compiler/rustc_parse/src/errors.rs | |
| parent | 39d51bd51c941021567e6adae1f80c3cbcc31d47 (diff) | |
| download | rust-395e95c4900367930af2f18c9a53ce18ed55d5d5.tar.gz rust-395e95c4900367930af2f18c9a53ce18ed55d5d5.zip | |
Tweak `Parser::look_ahead`.
It doesn't really matter what the `desugar_doc_comments` argument is here, because in practice we never look ahead through doc comments. Changing it to `cursor.desugar_doc_comments` will allow some follow-up simplifications.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
