mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Upgrade to rustc 1.41.0-nightly (7afe6d9d1 2019-12-03)
This commit is contained in:
parent
6e3c131139
commit
4cbbb625d0
3 changed files with 13 additions and 4 deletions
|
@ -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};
|
||||
|
|
|
@ -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 "$@"
|
||||
|
|
|
@ -1 +1 @@
|
|||
nightly-2019-11-16
|
||||
nightly-2019-12-04
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue