about summary refs log tree commit diff
path: root/src/test/ui/feature-gates/feature-gate-no_coverage.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-13/+0
2021-05-05Disallows `#![feature(no_coverage)]` on stable and betaRich Kadel-4/+9
using allow_internal_unstable (as recommended) Fixes: #84836 ```shell $ ./build/x86_64-unknown-linux-gnu/stage1/bin/rustc src/test/run-make-fulldeps/coverage/no_cov_crate.rs error[E0554]: `#![feature]` may not be used on the dev release channel --> src/test/run-make-fulldeps/coverage/no_cov_crate.rs:2:1 | 2 | #![feature(no_coverage)] | ^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0554`. ```
2021-04-27adds feature gating of `no_coverage` at either crate- or function-levelRich Kadel-0/+8