Bump to 0.0.139

This commit is contained in:
Manish Goregaokar
2017-06-10 21:46:26 -07:00
parent 4e151a4eab
commit 55cb63adfe
13 changed files with 67 additions and 81 deletions

View File

@@ -516,7 +516,9 @@ fn non_macro_local(cx: &LateContext, def: &def::Def) -> bool {
match *def {
def::Def::Local(def_id) |
def::Def::Upvar(def_id, _, _) => {
let id = cx.tcx.hir.as_local_node_id(def_id)
let id = cx.tcx
.hir
.as_local_node_id(def_id)
.expect("local variables should be found in the same crate");
!in_macro(cx.tcx.hir.span(id))
},