mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
8e271d70a2
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`` |
||
---|---|---|
.. | ||
const-in-super-trait-and-item-bound.rs | ||
lifetime-generic-user-impl-normalize.rs | ||
lifetime-generic-user-impl.rs | ||
projections-in-super-trait-bound-unsatisfied.rs | ||
projections-in-super-trait-bound-unsatisfied.stderr | ||
unconstrained-param-in-impl-ambiguity.rs | ||
unconstrained-param-in-impl-ambiguity.stderr |