about summary refs log tree commit diff
path: root/tests/ui/impl-trait/rpit
AgeCommit message (Collapse)AuthorLines
2025-04-03add `TypingMode::Borrowck`lcnr-37/+13
2025-01-11Remove a bunch of diagnostic stashing that doesn't do anythingMichael Goulet-17/+17
2024-12-16Regression test for RPIT inheriting lifetimeRyan Mehri-0/+24
2024-07-24Do not try to reveal hidden types when trying to prove Freeze in the ↵Oli Scherer-37/+2
defining scope
2024-07-24Add regression testOli Scherer-0/+49
2024-03-28remove test FIXME re once-module-regionAli MJ Al-Nasrawy-5/+4
2024-03-28simplify check_uniqueAli MJ Al-Nasrawy-26/+12
2024-03-28check RPITs for invalid argsAli MJ Al-Nasrawy-5/+25
2024-03-28except equal parameters from the uniqueness checkAli MJ Al-Nasrawy-0/+74
2024-02-19Auto merge of #121211 - lcnr:nll-relate-handle-infer, r=BoxyUwUbors-14/+1
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 :sparkles: while working on this I already found some subtle bugs in the existing code, so that's awesome :tada: 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-17use `instantiate_ty_var` in nlllcnr-14/+1
we already use `instantiate_const_var`. This does lose some debugging info for nll because we stop populating the `reg_var_to_origin` table with `RegionCtxt::Existential(None)`, I don't think that matters however. Supporting this adds additional complexity to one of the most involved parts of the type system, so I really don't think it's worth it.
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-1/+1
2024-01-22Add some testsOli Scherer-0/+39
2023-08-14check for non-defining uses of RPITlcnr-0/+64