rust/compiler/rustc_infer/src
Matthias Krüger 60d136000e
Rollup merge of #104936 - cjgillot:self-rpit-orig-too, r=oli-obk
Ignore bivariant parameters in test_type_match.

https://github.com/rust-lang/rust/pull/103491 made opaque types bivariant with respect of some of their lifetime parameters.  Because of this bivariance, some lifetime variables were not unified to anything during borrowck, and were considered as unequal by borrowck type test.

This PR makes type test ignore the bivariant parameters in test_type_match.

Fixes https://github.com/rust-lang/rust/issues/104815

r? `@oli-obk`
2022-11-28 17:25:47 +01:00
..
errors Separate lifetime ident from resolution in HIR. 2022-11-23 19:33:06 +00:00
infer Rollup merge of #104936 - cjgillot:self-rpit-orig-too, r=oli-obk 2022-11-28 17:25:47 +01:00
traits Introduce PredicateKind::Clause 2022-11-25 00:04:54 -03:00
lib.rs Remove #![allow(rustc::potential_query_instability)] from rustc_infer 2022-10-28 15:32:49 +02:00