Upgrade to rustc 1.41.0-nightly (7afe6d9d1 2019-12-03)

This commit is contained in:
Simon Sapin 2019-12-04 09:27:39 +01:00
parent 6e3c131139
commit 4cbbb625d0
3 changed files with 13 additions and 4 deletions

View file

@ -1,8 +1,16 @@
#!/bin/sh
#!/bin/bash
# Emit documentation for private items so it is easier to look
# up internal definitions.
#
# Deny "deny warnings" to ensure documenting the crates
# succeeds even if new warnings are introduced to the compiler.
rustdoc -Z "unstable-options" --cap-lints warn --document-private-items "$@"
if [[ "$*" == *--document-private-items* ]]
then
ARGS=""
else
ARGS="--document-private-items"
fi
rustdoc -Z "unstable-options" --cap-lints warn $ARGS "$@"