diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-07-22 09:35:43 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-07-22 09:35:43 +0200 |
commit | 58c55064154955167eff1713bf3bbe9b97ea1bcc (patch) | |
tree | df94e510923e404d68fdd5f2caa50022dc636f55 /components | |
parent | 75275965f08d7b34be73254b7b4df9135cc8fcf8 (diff) | |
download | servo-58c55064154955167eff1713bf3bbe9b97ea1bcc.tar.gz servo-58c55064154955167eff1713bf3bbe9b97ea1bcc.zip |
Upgrade to rustc 1.38.0-nightly (273f42b59 2019-07-21)
Diffstat (limited to 'components')
-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 0c22f224647..686b104daf6 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: &[Symbol]) -> 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().expn_info() { if let ExpnKind::Macro(MacroKind::Attr, n) = i.kind { n.as_str().contains("derive") } else { |