diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b1176a813..d808601806 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -152,6 +152,8 @@ jobs: run: rustup toolchain install nightly-2023-09-06 - name: generate doc uses: actions-rs/cargo@v1 + env: + RUSTDOCFLAGS: -Dwarnings with: toolchain: nightly-2023-09-06 command: rustdoc