Files
rust/tests/rustdoc-html
Jacob Pratt c9f758330a Rollup merge of #159194 - Dnreikronos:rustdoc/auto_trait_param_env, r=lolbinarycat
rustdoc: Fix auto trait normalization env

Fixes rust-lang/rust#159065

rustdoc ICEs on #[doc(inline)] pub use std as other; with -Znext-solver=globally -Znormalize-docs. The synthetic auto-trait code builds a ParamEnv for the generated where-clauses, but nested type normalization still reads cx.param_env (via `clean_predicate` -> `clean_middle_ty` -> `normalize`). In the inline std case that env can be empty, so the solver later idk's the type of the placeholder const.

Use that synthetic auto-trait ParamEnv while cleaning the generated where-clauses. imo this is the least weird place to do it: the clauses came from that env, so their normalization should use it too. btw, the added rustdoc-html test is just the reduced issue case, fyi.
2026-07-14 23:23:13 -04:00
..
2026-07-13 10:54:53 +02:00
…
2026-06-12 19:11:22 -04:00
2026-04-01 23:05:42 +01:00
2026-07-13 10:54:53 +02:00
…
2026-07-13 10:54:53 +02:00
2026-07-13 10:54:53 +02:00
2026-06-07 11:06:19 +03:00
…
…
…
…
2026-06-07 13:58:33 -04:00
…
…
…
…
2026-07-13 10:54:53 +02:00
…
…
…
…