rust/tests/rustdoc-ui/synthetic-auto-trait-impls
Matthias Krüger 8e271d70a2
Rollup merge of #123375 - fmease:rustdoc-sati-re-hotfix, r=GuillaumeGomez
rustdoc: synthetic auto trait impls: accept unresolved region vars for now

https://github.com/rust-lang/rust/pull/123348#issuecomment-2032494255:

> Right, [in #123340] I've intentionally changed a `vid_map.get(vid).unwrap_or(r)` to a `vid_map[vid]` making rustdoc panic if `rustc::AutoTraitFinder` returns a region inference variable that cannot be resolved because that is really fishy.  I can change it back with a `FIXME: investigate` […]. [O]nce I [fully] understand [the arcane] `rustc::AutoTraitFinder` [I] can fix the underlying issue if there's one.
>
> `rustc::AutoTraitFinder` can also return placeholder regions `RePlaceholder` which doesn't seem right either and which makes rustdoc ICE, too (we have a GitHub issue for that already[, namely #120606]).

Fixes #123370.
Fixes #112242.

r? ``@GuillaumeGomez``
2024-04-02 21:22:04 +02:00
..
const-in-super-trait-and-item-bound.rs rustdoc: add a couple of regression tests 2024-04-02 18:37:01 +02:00
lifetime-generic-user-impl-normalize.rs rustdoc: synthetic auto trait impls: accept unresolved region vars for now 2024-04-02 18:59:17 +02:00
lifetime-generic-user-impl.rs rustdoc: synthetic auto trait impls: accept unresolved region vars for now 2024-04-02 18:59:17 +02:00
projections-in-super-trait-bound-unsatisfied.rs rustdoc: add a couple of regression tests 2024-04-02 18:37:01 +02:00
projections-in-super-trait-bound-unsatisfied.stderr rustdoc: add a couple of regression tests 2024-04-02 18:37:01 +02:00
unconstrained-param-in-impl-ambiguity.rs rustdoc: add a couple of regression tests 2024-04-02 18:37:01 +02:00
unconstrained-param-in-impl-ambiguity.stderr rustdoc: add a couple of regression tests 2024-04-02 18:37:01 +02:00