Skip to content

Commit

Permalink
Upgrade to rustc 1.38.0-nightly (273f42b59 2019-07-21)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Jul 22, 2019
1 parent 7527596 commit 58c5506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/script_plugins/utils.rs
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
@@ -1 +1 @@
nightly-2019-07-16
nightly-2019-07-22

0 comments on commit 58c5506

Please sign in to comment.