Upgrade to rustc 1.37.0-nightly (088b98730 2019-07-03)

This commit is contained in:
Josh Matthews 2019-06-24 11:11:42 -04:00 committed by Simon Sapin
parent a2b76b0169
commit 43a75011be
7 changed files with 14 additions and 6 deletions

View file

@ -3,7 +3,6 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
#![deny(unsafe_code)]
#![feature(type_alias_enum_variants)]
#[macro_use]
extern crate bitflags;

View file

@ -2,6 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// Work around https://github.com/rust-lang/rust/issues/62132
#![recursion_limit = "128"]
//! The layout thread. Performs layout on the DOM, builds display lists and sends them to be
//! painted.

View file

@ -8,7 +8,6 @@
#![feature(inner_deref)]
#![feature(on_unimplemented)]
#![feature(plugin)]
#![feature(type_alias_enum_variants)]
#![deny(unsafe_code)]
#![allow(non_snake_case)]
#![doc = "The script crate contains all matters DOM."]

View file

@ -151,7 +151,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnrootedPass {
_gen: &'tcx hir::Generics,
id: HirId,
) {
let item = match cx.tcx.hir().get_by_hir_id(id) {
let item = match cx.tcx.hir().get(id) {
hir::Node::Item(item) => item,
_ => cx.tcx.hir().expect_item(cx.tcx.hir().get_parent_item(id)),
};

View file

@ -190,7 +190,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for WebIdlPass {
return;
}
let item = match cx.tcx.hir().get_by_hir_id(id) {
let item = match cx.tcx.hir().get(id) {
hir::Node::Item(item) => item,
_ => cx.tcx.hir().expect_item(cx.tcx.hir().get_parent_item(id)),
};

View file

@ -1,7 +1,14 @@
#!/bin/sh
# Work around https://github.com/rust-lang/rust/issues/62132
if [ "$2" = "synstructure" -o "$2" = "derivative" ]
then
exit
fi
# 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 "$@"

View file

@ -1 +1 @@
nightly-2019-06-19
nightly-2019-07-04