Auto merge of #24043 - servo:rustup, r=jdm

Upgrade to rustc 1.39.0-nightly (9eae1fc0e 2019-08-23)

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24043)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-08-24 12:30:16 -04:00 committed by GitHub
commit e6fe8c63d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 16 deletions

View file

@ -170,9 +170,8 @@ pub trait ThreadSafeLayoutNode:
type ConcreteNode: LayoutNode<ConcreteThreadSafeLayoutNode = Self>;
type ConcreteElement: TElement;
type ConcreteThreadSafeLayoutElement: ThreadSafeLayoutElement<
ConcreteThreadSafeLayoutNode = Self,
> + ::selectors::Element<Impl = SelectorImpl>;
type ConcreteThreadSafeLayoutElement: ThreadSafeLayoutElement<ConcreteThreadSafeLayoutNode = Self>
+ ::selectors::Element<Impl = SelectorImpl>;
type ChildrenIterator: Iterator<Item = Self> + Sized;
/// Converts self into an `OpaqueNode`.

View file

@ -21,17 +21,12 @@
#[cfg(feature = "unrooted_must_root_lint")]
#[macro_use]
extern crate rustc;
// Work around TLS failure: https://github.com/rust-lang/rust/issues/62717#issuecomment-511876555
#[allow(unused)]
extern crate rustc_driver;
extern crate rustc_plugin;
extern crate syntax;
extern crate weedle;
use rustc_plugin::Registry;
use rustc_driver::plugin::Registry;
use syntax::feature_gate::AttributeType::Whitelisted;
use syntax::symbol::Symbol;

View file

@ -30,13 +30,9 @@ pub fn match_def_path(cx: &LateContext, def_id: DefId, path: &[Symbol]) -> bool
}
pub fn in_derive_expn(span: Span) -> bool {
if let Some(i) = span.ctxt().outer_expn().expn_info() {
if let ExpnKind::Macro(MacroKind::Attr, n) = i.kind {
if let ExpnKind::Macro(MacroKind::Attr, n) = span.ctxt().outer_expn_data().kind {
n.as_str().contains("derive")
} else {
false
}
} else {
false
}
}

View file

@ -1 +1 @@
nightly-2019-08-16
nightly-2019-08-24