about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-14 01:05:18 +0000
committerbors <bors@rust-lang.org>2023-09-14 01:05:18 +0000
commitc728bf3963433062b91bd84ffcb37d15416b800e (patch)
treef016a2109e7038fa294ed5dcc97d8d905184ce2e /compiler/rustc_mir_transform/src
parent8142a319ed5c1d1f96e5a1881a6546e463b77c8f (diff)
parent0ca6c38cc22fe516ac5f25f87cff996cfd8932b7 (diff)
downloadrust-c728bf3963433062b91bd84ffcb37d15416b800e.tar.gz
rust-c728bf3963433062b91bd84ffcb37d15416b800e.zip
Auto merge of #114656 - bossmc:rework-no-coverage-attr, r=oli-obk
Rework `no_coverage` to `coverage(off)`

As discussed at the tail of https://github.com/rust-lang/rust/issues/84605 this replaces the `no_coverage` attribute with a `coverage` attribute that takes sub-parameters (currently `off` and `on`) to control the coverage instrumentation.

Allows future-proofing for things like `coverage(off, reason="Tested live", issue="#12345")` or similar.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions