rust icon indicating copy to clipboard operation
rust copied to clipboard

coverage: Use normal `edition:` headers in coverage tests

Open Zalathar opened this issue 6 months ago • 4 comments

Some of these tests were originally written as part of a custom run-make test, so at that time they weren't able to use the normal compiletest header directive parser.

Now that they're properly integrated, there's no need for them to use compile-flags to specify the edition, since they can use edition instead.

In most cases the .cov-map snapshot isn't affected at all, but in a few cases we add or remove a line, which slightly disturbs the first line number in each instrumented function.

Zalathar avatar Feb 02 '24 00:02 Zalathar

r? @Mark-Simulacrum

(rustbot has picked a reviewer for you, use r? to override)

rustbot avatar Feb 02 '24 00:02 rustbot

r? compiler-errors @bors r+ rollup

compiler-errors avatar Feb 02 '24 14:02 compiler-errors

:pushpin: Commit c9c049b2b42f4c05ec49fd1c9125fa4333badd3f has been approved by compiler-errors

It is now in the queue for this repository.

bors avatar Feb 02 '24 14:02 bors

:evergreen_tree: The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened.

bors avatar Feb 02 '24 14:02 bors