aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-08-31 17:17:59 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-08-31 17:17:59 +0200
commit1dcede75d72713f454f08ec93c22a06199eb861b (patch)
tree799e67988ad43f9c4cb83dd225c9c16f35c91140 /components/script_plugins
parentc4800a6c83e6fdabaf7c4eff70a24487d16f18ff (diff)
downloadservo-1dcede75d72713f454f08ec93c22a06199eb861b.tar.gz
servo-1dcede75d72713f454f08ec93c22a06199eb861b.zip
Upgrade to rustc 1.21.0-nightly (7eeac1b81 2017-08-30)
Diffstat (limited to 'components/script_plugins')
-rw-r--r--components/script_plugins/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_plugins/utils.rs b/components/script_plugins/utils.rs
index 4f6fce2d0ed..45a348ea14f 100644
--- a/components/script_plugins/utils.rs
+++ b/components/script_plugins/utils.rs
@@ -29,7 +29,7 @@ pub fn match_def_path(cx: &LateContext, def_id: DefId, path: &[&str]) -> bool {
}
pub fn in_derive_expn(span: Span) -> bool {
- if let Some(i) = span.ctxt.outer().expn_info() {
+ if let Some(i) = span.ctxt().outer().expn_info() {
if let ExpnFormat::MacroAttribute(n) = i.callee.format {
n.as_str().contains("derive")
} else {