diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b77989d1fb..26595237a8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,6 +17,7 @@ jobs: - name: Build rustdoc env: RUSTC_BOOTSTRAP: 1 + RUSTDOCFLAGS: -Dwarnings --cfg=doc_cfg run: cargo doc --all-features --workspace - name: Organize run: |