提交 5c989524 编写于 作者: A Alex Crichton

Test fixes and rebase conflicts

上级 76fbb5d5
......@@ -139,7 +139,7 @@ fn test_env<F>(source_string: &str,
stability_index);
let infcx = infer::new_infer_ctxt(&tcx);
body(Env { infcx: &infcx });
infcx.resolve_regions_and_report_errors();
infcx.resolve_regions_and_report_errors(ast::CRATE_NODE_ID);
assert_eq!(tcx.sess.err_count(), expected_err_count);
}
......
......@@ -84,7 +84,7 @@ pub fn expand_meta_deriving(cx: &mut ExtCtxt,
expand!(encodable::expand_deriving_encodable)
}
"Decodable" =>
"Decodable" => {
// NOTE: uncomment after a stage0 snap
// cx.span_warn(titem.span,
// "deriving(Decodable) is deprecated \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册