Files
Jacob Pratt 9fa34499e3 Rollup merge of #158334 - lapla-cogito:rustdoc_typeconst, r=camelid
rustdoc: Show use-site paths for unevaluated const array lengths

After rust-lang/rust#158171, I noticed a few additional issues with the rendering of consts in rustdoc. This PR fixes them. When rendering array lengths, avoid inlining the full definition of unevaluated constants via `print_inlined_const`. Instead, fall back to `Const::to_string()` for use-site rendering, matching the behavior already used for projections without bodies.

r? camelid
2026-07-01 17:42:28 -04:00
..
2026-06-12 19:11:22 -04:00
2026-06-30 09:01:03 +00:00
2026-06-07 11:06:19 +03:00
2026-06-07 13:58:33 -04:00