about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-08-02 13:08:42 -0700
committerGitHub <noreply@github.com>2020-08-02 13:08:42 -0700
commitbf4a37d9611239fc89f25e0a9c47d71bd43f1450 (patch)
tree719cd7331192d4bd1c06a34f70b7cc5e2481903e /src/rustllvm/CoverageMappingWrapper.cpp
parent19cefa68640843956eedd86227ddc1d35dbc6754 (diff)
parent1530563bd7a3880eec14d78e4a715c1bc4e24074 (diff)
downloadrust-bf4a37d9611239fc89f25e0a9c47d71bd43f1450.tar.gz
rust-bf4a37d9611239fc89f25e0a9c47d71bd43f1450.zip
Rollup merge of #74980 - davidtwco:issue-74745-pprust-regression-test, r=petrochenkov
pprust: adjust mixed comment printing and add regression test for #74745

Fixes #74745.

This PR adds a regression test for #74745. While a `ignore-tidy-trailing-lines` header is required, this doesn't stop the test from reproducing, so long as there is no newline at the end of the file.

However, adding the header comments made the test fail due to a bug in pprust - so this PR also  adjusts the pretty printing of mixed comments so that the initial zero-break isn't emitted at the beginning of the line. Through this, the `block-comment-wchar` test can have the `pp-exact` file removed, as it no longer converges from pretty printing of the source.
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions