about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorRich Kadel <richkadel@google.com>2021-05-03 08:47:43 -0700
committerRich Kadel <richkadel@google.com>2021-05-05 07:52:26 -0700
commit3584c1dd0cb501916c8bc6fd452864b261068beb (patch)
treed94b14cca54758f7a6f0b80cad7bbc25f8dc21f5 /library/std/src/sys/unix/stack_overflow.rs
parent603a42ec5458c547b51173cfa48c23ad37b03c3f (diff)
downloadrust-3584c1dd0cb501916c8bc6fd452864b261068beb.tar.gz
rust-3584c1dd0cb501916c8bc6fd452864b261068beb.zip
Disallows `#![feature(no_coverage)]` on stable and beta
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`.
```
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions