mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Upgrade to rustc 1.37.0-nightly (088b98730 2019-07-03)
This commit is contained in:
parent
a2b76b0169
commit
43a75011be
7 changed files with 14 additions and 6 deletions
|
@ -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,4 +1,11 @@
|
|||
#!/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.
|
||||
#
|
||||
|
|
|
@ -1 +1 @@
|
|||
nightly-2019-06-19
|
||||
nightly-2019-07-04
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue