about summary refs log tree commit diff
path: root/src/librustdoc/html/render/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-04-10 04:03:59 +0000
committerbors <bors@rust-lang.org>2025-04-10 04:03:59 +0000
commit9d28fe39763974a96d61232e96ac856735e4cdd6 (patch)
treeb8c356fda7572eb6f9971981d5be160f4c993c86 /src/librustdoc/html/render/mod.rs
parent6813f955a616999109ff69c48bbad6be33c6cdb3 (diff)
parent6cd724bb43b92ae573112c3d39804f227c7ebf02 (diff)
downloadrust-9d28fe39763974a96d61232e96ac856735e4cdd6.tar.gz
rust-9d28fe39763974a96d61232e96ac856735e4cdd6.zip
Auto merge of #139000 - compiler-errors:rigid-missing-item, r=lcnr
Rigidly project missing item due to guaranteed impossible sized predicate

This is a somewhat involved change, but it amounts to treating missing impl items due to guaranteed impossible where clauses (dyn/str/slice sized, cc #135480) as *rigid projections* rather than projecting to an error term, since that was preventing either reporting a proper error (in an empty param env) *or* successfully type checking the code (in the presence of trivially false where clauses).

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

r? `@lcnr` `@oli-obk`
Diffstat (limited to 'src/librustdoc/html/render/mod.rs')
0 files changed, 0 insertions, 0 deletions