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

@ -21,9 +21,9 @@
#[macro_use]
extern crate matches;
#[macro_use]
extern crate rustc;
extern crate rustc_driver;
extern crate rustc_session;
extern crate syntax;
use rustc::hir::def_id::DefId;
@ -32,6 +32,7 @@ use rustc::hir::{self, ExprKind, HirId};
use rustc::lint::{LateContext, LateLintPass, LintContext, LintPass};
use rustc::ty;
use rustc_driver::plugin::Registry;
use rustc_session::declare_lint;
use syntax::ast::{AttrKind, Attribute};
use syntax::source_map;
use syntax::source_map::{ExpnKind, MacroKind, Span};

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 "$@"

View file

@ -1 +1 @@
nightly-2019-11-16
nightly-2019-12-04