ci: Fail if rustdoc raises warnings
@@ -27,7 +27,7 @@ jobs:
- name: Build docs
uses: actions-rs/cargo@v1
env:
- RUSTDOCFLAGS: "--enable-index-page -Zunstable-options --cfg docsrs"
+ RUSTDOCFLAGS: "--enable-index-page -Zunstable-options --cfg docsrs -Dwarnings"
with:
command: doc
args: --no-deps --workspace --features docsrs -Zrustdoc-map
