Skip to content

Commit 5c98952

Browse files
committed
Test fixes and rebase conflicts
1 parent 76fbb5d commit 5c98952

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc_driver/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ fn test_env<F>(source_string: &str,
139139
stability_index);
140140
let infcx = infer::new_infer_ctxt(&tcx);
141141
body(Env { infcx: &infcx });
142-
infcx.resolve_regions_and_report_errors();
142+
infcx.resolve_regions_and_report_errors(ast::CRATE_NODE_ID);
143143
assert_eq!(tcx.sess.err_count(), expected_err_count);
144144
}
145145

src/libsyntax/ext/deriving/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub fn expand_meta_deriving(cx: &mut ExtCtxt,
8484

8585
expand!(encodable::expand_deriving_encodable)
8686
}
87-
"Decodable" =>
87+
"Decodable" => {
8888
// NOTE: uncomment after a stage0 snap
8989
// cx.span_warn(titem.span,
9090
// "deriving(Decodable) is deprecated \

0 commit comments

Comments
 (0)