fix tests in librustc_driver
This commit is contained in:
parent
a985634fc0
commit
17df455c2e
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user