diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-06-24 12:22:28 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-07-07 12:53:39 +0200 |
commit | a09899be99747018cd6622a7da59a1d3045f36bf (patch) | |
tree | 8b0942df973aabee3bd04479b956e219179d2394 /components/script_plugins/utils.rs | |
parent | 1b9d8fa674115dabdddbfd47acbc9a9e336b8ed4 (diff) | |
download | servo-a09899be99747018cd6622a7da59a1d3045f36bf.tar.gz servo-a09899be99747018cd6622a7da59a1d3045f36bf.zip |
Upgrade to rustc 1.29.0-nightly (e06c87544 2018-07-06)
Diffstat (limited to 'components/script_plugins/utils.rs')
-rw-r--r-- | components/script_plugins/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_plugins/utils.rs b/components/script_plugins/utils.rs index 9199e5b083b..92797f81430 100644 --- a/components/script_plugins/utils.rs +++ b/components/script_plugins/utils.rs @@ -30,7 +30,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 ExpnFormat::MacroAttribute(n) = i.callee.format { + if let ExpnFormat::MacroAttribute(n) = i.format { n.as_str().contains("derive") } else { false |