diff options
| author | bors <bors@rust-lang.org> | 2020-11-12 00:33:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-11-12 00:33:55 +0000 |
| commit | 92ece848735c51767b95d31055e57405dec511e5 (patch) | |
| tree | ec953eb5a7d45ec58ba506dcb4ff3964a836fe3e /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | f92f8d095d30e05a3fdf6fdeaab4c8e4d626ef6a (diff) | |
| parent | 8845f10e945927ba9234f7a6411101eb980d45a3 (diff) | |
| download | rust-92ece848735c51767b95d31055e57405dec511e5.tar.gz rust-92ece848735c51767b95d31055e57405dec511e5.zip | |
Auto merge of #78782 - petrochenkov:nodoctok, r=Aaron1011
Do not collect tokens for doc comments Doc comment is a single token and AST has all the information to re-create it precisely. Doc comments are also responsible for majority of calls to `collect_tokens` (with `num_calls == 1` and `num_calls == 0`, cc https://github.com/rust-lang/rust/pull/78736). (I also moved token collection into `fn parse_attribute` to deduplicate code a bit.) r? `@Aaron1011`
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
