We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
librustc_driver
1 parent a985634 commit 17df455Copy full SHA for 17df455
src/librustc_driver/test.rs
@@ -444,7 +444,8 @@ fn sub_free_bound_false_infer() {
444
//! does NOT hold for any instantiation of `_#1`.
445
446
test_env(EMPTY_SOURCE_STR, errors(&[]), |env| {
447
- let t_infer1 = env.infcx.next_ty_var(TypeVariableOrigin::MiscVariable(DUMMY_SP));
+ let t_infer1 = env.infcx.next_ty_var(ty::UniverseIndex::ROOT,
448
+ TypeVariableOrigin::MiscVariable(DUMMY_SP));
449
let t_rptr_bound1 = env.t_rptr_late_bound(1);
450
env.check_not_sub(env.t_fn(&[t_infer1], env.tcx().types.isize),
451
env.t_fn(&[t_rptr_bound1], env.tcx().types.isize));
0 commit comments