diff --git a/contrib/test.sh b/contrib/test.sh index 8bc9946..7ff9c0b 100755 --- a/contrib/test.sh +++ b/contrib/test.sh @@ -60,7 +60,7 @@ fi # Build the docs if told to (this only works with the nightly toolchain) if [ "$DO_DOCS" = true ]; then - RUSTDOCFLAGS="--cfg docsrs" cargo rustdoc --features="$FEATURES" -- -D rustdoc::broken-intra-doc-links + RUSTDOCFLAGS="--cfg docsrs" cargo rustdoc --features="$FEATURES" -- -D rustdoc::broken-intra-doc-links -D warnings || exit 1 fi # Webassembly stuff