Upgrade to rustc 1.29.0-nightly (e06c87544 2018-07-06)

This commit is contained in:
Simon Sapin 2018-06-24 12:22:28 +02:00
parent 1b9d8fa674
commit a09899be99
3 changed files with 5 additions and 5 deletions

View file

@ -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