rustup to 2017-01-12
This commit is contained in:
@@ -143,7 +143,7 @@ fn check_decl<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, decl: &'tcx Decl, bindings:
|
||||
}
|
||||
|
||||
fn is_binding(cx: &LateContext, pat_id: NodeId) -> bool {
|
||||
let var_ty = cx.tcx.tables().node_id_to_type(pat_id);
|
||||
let var_ty = cx.tables.node_id_to_type(pat_id);
|
||||
match var_ty.sty {
|
||||
ty::TyAdt(..) => false,
|
||||
_ => true,
|
||||
|
||||
Reference in New Issue
Block a user