Skip to content

Commit 8128ae3

Browse files
committed
Revert "fix tests in librustc_driver"
This reverts commit 17df455.
1 parent 3e971eb commit 8128ae3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc_driver/test.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,7 @@ fn sub_free_bound_false_infer() {
455455
//! does NOT hold for any instantiation of `_#1`.
456456
457457
test_env(EMPTY_SOURCE_STR, errors(&[]), |env| {
458-
let t_infer1 = env.infcx.next_ty_var(ty::UniverseIndex::ROOT,
459-
TypeVariableOrigin::MiscVariable(DUMMY_SP));
458+
let t_infer1 = env.infcx.next_ty_var(TypeVariableOrigin::MiscVariable(DUMMY_SP));
460459
let t_rptr_bound1 = env.t_rptr_late_bound(1);
461460
env.check_not_sub(env.t_fn(&[t_infer1], env.tcx().types.isize),
462461
env.t_fn(&[t_rptr_bound1], env.tcx().types.isize));

0 commit comments

Comments
 (0)