We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76fbb5d commit 5c98952Copy full SHA for 5c98952
src/librustc_driver/test.rs
@@ -139,7 +139,7 @@ fn test_env<F>(source_string: &str,
139
stability_index);
140
let infcx = infer::new_infer_ctxt(&tcx);
141
body(Env { infcx: &infcx });
142
- infcx.resolve_regions_and_report_errors();
+ infcx.resolve_regions_and_report_errors(ast::CRATE_NODE_ID);
143
assert_eq!(tcx.sess.err_count(), expected_err_count);
144
}
145
src/libsyntax/ext/deriving/mod.rs
@@ -84,7 +84,7 @@ pub fn expand_meta_deriving(cx: &mut ExtCtxt,
84
85
expand!(encodable::expand_deriving_encodable)
86
87
- "Decodable" =>
+ "Decodable" => {
88
// NOTE: uncomment after a stage0 snap
89
// cx.span_warn(titem.span,
90
// "deriving(Decodable) is deprecated \
0 commit comments