Update to 7/17 nightly.

This commit is contained in:
Josh Matthews 2021-07-17 16:41:38 -04:00
parent 1522befabb
commit 8d5dd66ed3
2 changed files with 2 additions and 5 deletions

View file

@ -405,10 +405,7 @@ fn match_def_path(cx: &LateContext, def_id: DefId, path: &[Symbol]) -> bool {
fn in_derive_expn(span: Span) -> bool {
matches!(
span.ctxt().outer_expn_data().kind,
ExpnKind::Macro {
kind: MacroKind::Derive,
..
}
ExpnKind::Macro(MacroKind::Derive, ..)
)
}