Skip to content
Permalink
Browse files

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

  • Loading branch information...
jdm authored and SimonSapin committed Jun 24, 2019
1 parent a2b76b0 commit 43a75011be4429f0e69c65362c119f6ef5ec96d5
@@ -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;
@@ -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.

@@ -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."]
@@ -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)),
};
@@ -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)),
};
@@ -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 "$@"
@@ -1 +1 @@
nightly-2019-06-19
nightly-2019-07-04

0 comments on commit 43a7501

Please sign in to comment.
You can’t perform that action at this time.