Skip to content

Commit

Permalink
fix tests in librustc_driver
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis authored and sgrif committed Mar 1, 2018
1 parent a985634 commit 17df455
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustc_driver/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,8 @@ fn sub_free_bound_false_infer() {
//! does NOT hold for any instantiation of `_#1`.

test_env(EMPTY_SOURCE_STR, errors(&[]), |env| {
let t_infer1 = env.infcx.next_ty_var(TypeVariableOrigin::MiscVariable(DUMMY_SP));
let t_infer1 = env.infcx.next_ty_var(ty::UniverseIndex::ROOT,
TypeVariableOrigin::MiscVariable(DUMMY_SP));
let t_rptr_bound1 = env.t_rptr_late_bound(1);
env.check_not_sub(env.t_fn(&[t_infer1], env.tcx().types.isize),
env.t_fn(&[t_rptr_bound1], env.tcx().types.isize));
Expand Down

0 comments on commit 17df455

Please sign in to comment.