rust/tests/ui/impl-trait/rpit
bors 0395fa387a Auto merge of #121211 - lcnr:nll-relate-handle-infer, r=BoxyUwU
deduplicate infer var instantiation

Having 3 separate implementations of one of the most subtle parts of our type system is not a good strategy if we want to maintain a sound type system  while working on this I already found some subtle bugs in the existing code, so that's awesome 🎉 cc #121159

This was necessary as I am not confident in my nll changes in #119106, so I am first cleaning this up in a separate PR.

r? `@BoxyUwU`
2024-02-19 22:04:58 +00:00
..
early_bound.rs use instantiate_ty_var in nll 2024-02-17 02:32:19 +01:00
early_bound.stderr use instantiate_ty_var in nll 2024-02-17 02:32:19 +01:00
equal-lifetime-params-ok.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-defining-use.rs check for non-defining uses of RPIT 2023-08-14 15:25:20 +02:00
non-defining-use.stderr check for non-defining uses of RPIT 2023-08-14 15:25:20 +02:00