about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/spans.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-05-11 13:16:30 +0900
committerGitHub <noreply@github.com>2022-05-11 13:16:30 +0900
commit81c0a2d96c42bd3b21111ad7a99026949f4e9a4c (patch)
tree791724bf90207794f4b7803ec455dc2d1badcb16 /compiler/rustc_mir_transform/src/coverage/spans.rs
parent532be942ddf8f40d086e54d157453434b16e9647 (diff)
parent3cd8e9866d55ddd962e6bda92018cbf4bc9ee08f (diff)
downloadrust-81c0a2d96c42bd3b21111ad7a99026949f4e9a4c.tar.gz
rust-81c0a2d96c42bd3b21111ad7a99026949f4e9a4c.zip
Rollup merge of #96543 - nnethercote:rm-make_token_stream-hacks, r=Aaron1011
Remove hacks in `make_token_stream`.

`make_tokenstream` has three commented hacks, and a comment at the top
referring to #67062. These hacks have no observable effect, at least as judged
by running the test suite. The hacks were added in #82608, with an explanation
[here](https://github.com/rust-lang/rust/pull/82608#issuecomment-812877329). It
appears that one of the following is true: (a) they never did anything useful,
(b) they do something useful but we have no test coverage for them, or (c)
something has changed in the meantime that means they are no longer necessary.

This commit removes the hacks and the comments, in the hope that (b) is not
true.

r? `@Aaron1011`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/spans.rs')
0 files changed, 0 insertions, 0 deletions