diff options
author | Aleksey Kladov <[email protected]> | 2020-11-02 12:13:32 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-11-02 13:07:08 +0000 |
commit | b6101184537b1165cfdd5fc473e04ad4c5b7bffa (patch) | |
tree | bcc2efd8a2696840a4724ad88758e973ecb77157 /.github/workflows/rustdoc.yaml | |
parent | e7f90866bcf4b04a11e958eda0ac53f7ff0a607b (diff) |
Deny unreachable-pub
It's very useful when `pub` is equivalent to "this is crate's public
API", let's enforce this!
Ideally, we should enforce it for local `cargo test`, and only during
CI, but that needs https://github.com/rust-lang/cargo/issues/5034.
Diffstat (limited to '.github/workflows/rustdoc.yaml')
-rw-r--r-- | .github/workflows/rustdoc.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/rustdoc.yaml b/.github/workflows/rustdoc.yaml index cf4bca840..29ca3d3b2 100644 --- a/.github/workflows/rustdoc.yaml +++ b/.github/workflows/rustdoc.yaml | |||
@@ -7,7 +7,7 @@ on: | |||
7 | env: | 7 | env: |
8 | CARGO_INCREMENTAL: 0 | 8 | CARGO_INCREMENTAL: 0 |
9 | CARGO_NET_RETRY: 10 | 9 | CARGO_NET_RETRY: 10 |
10 | RUSTFLAGS: -D warnings | 10 | RUSTFLAGS: "-D warnings " # -W unreachable-pub" |
11 | RUSTUP_MAX_RETRIES: 10 | 11 | RUSTUP_MAX_RETRIES: 10 |
12 | 12 | ||
13 | jobs: | 13 | jobs: |