Update to rustc 1.16.0-nightly (1a2ed98d3 2017-01-13)

This commit is contained in:
Chris Wong 2017-01-15 15:37:13 +13:00
parent 4cc8698638
commit f21d1b578e

View file

@ -30,7 +30,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for DoctypeHtml {
if s.as_str().eq_ignore_ascii_case("<!doctype html>");
// ... and the callee is `maud::PreEscaped`
if let ExprPath(ref qpath) = path_expr.node;
let def_id = cx.tcx.tables().qpath_def(qpath, path_expr.id).def_id();
let def_id = cx.tables.qpath_def(qpath, path_expr.id).def_id();
if match_def_path(cx, def_id, &["maud", "PreEscaped", "{{constructor}}"]);
then {
cx.struct_span_lint(MAUD_DOCTYPE_HTML, expr.span,