We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
librustc_driver
1 parent 3e971eb commit 8128ae3Copy full SHA for 8128ae3
src/librustc_driver/test.rs
@@ -455,8 +455,7 @@ fn sub_free_bound_false_infer() {
455
//! does NOT hold for any instantiation of `_#1`.
456
457
test_env(EMPTY_SOURCE_STR, errors(&[]), |env| {
458
- let t_infer1 = env.infcx.next_ty_var(ty::UniverseIndex::ROOT,
459
- TypeVariableOrigin::MiscVariable(DUMMY_SP));
+ let t_infer1 = env.infcx.next_ty_var(TypeVariableOrigin::MiscVariable(DUMMY_SP));
460
let t_rptr_bound1 = env.t_rptr_late_bound(1);
461
env.check_not_sub(env.t_fn(&[t_infer1], env.tcx().types.isize),
462
env.t_fn(&[t_rptr_bound1], env.tcx().types.isize));
0 commit comments