rust/src/librustdoc
bors fe98ddcfcf Auto merge of #151232 - fmease:rustdoc-dont-eval-assoc-consts, r=yotamofek
rustdoc: Stop unconditionally evaluating the initializer of associated consts

See the descriptions of the added tests for details.

Fixes rust-lang/rust#131625.
Fixes [after beta-1.93 backport] rust-lang/rust#149635.
Fixes rust-lang/rust#150312.

Supersedes rust-lang/rust#150629 IINM.

CC @cuviper (https://github.com/rust-lang/rust/issues/149635#issuecomment-3761125727)
r? @GuillaumeGomez or @yotamofek (rust-lang/rust#150629)
2026-01-17 16:15:18 +00:00
..
clean Rollup merge of #150962 - rm/feed_const_ty, r=BoxyUwU 2026-01-14 22:29:57 +01:00
doctest Auto merge of #149709 - Urgau:overhaul-filenames, r=davidtwco 2025-12-13 14:32:09 +00:00
formats Put negative implementors first and apply same ordering logic to foreign implementors 2025-12-10 16:18:20 +01:00
html rustdoc: Stop unconditionally evaluating the initializer of associated consts 2026-01-17 12:12:36 +01:00
json rustdoc_json: Remove one call to std::mem::take in after_krate. 2026-01-09 11:54:53 +01:00
passes Rollup merge of #151120 - ice-deprecated-note-on-reexport, r=lolbinarycat 2026-01-17 11:47:18 +11:00
theme rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
askama.toml Update to new rinja version (askama) 2025-04-03 15:38:08 +02:00
build.rs rustdoc-search: search backend with partitioned suffix tree 2025-08-15 10:26:03 -07:00
Cargo.toml Update askama version to 0.15 in librustdoc 2025-12-28 20:45:28 +01:00
config.rs stabilize annotate-snippet as default formatter 2025-12-16 11:20:27 +00:00
core.rs Remove Deref/DerefMut impl for Providers. 2026-01-14 15:55:59 +11:00
display.rs rustdoc: Fix broken link to Itertools::format 2025-12-03 12:56:30 +09:00
docfs.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
doctest.rs stabilize annotate-snippet as default formatter 2025-12-16 11:20:27 +00:00
error.rs Fix clippy lints 2024-08-29 12:14:41 +02:00
externalfiles.rs Ensure external paths passed via flags end up in rustdoc depinfo 2025-07-28 20:53:01 +02:00
fold.rs Add new doc(attribute = "...") attribute 2025-08-28 15:56:29 +02:00
lib.rs Handle bootstrap cfgs 2025-12-19 15:04:30 -08:00
lint.rs rustdoc: remove unportable markdown lint and old parser 2025-05-06 10:33:04 -07:00
markdown.rs Lazy-ify some markdown rendering 2025-06-29 12:41:16 +00:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
scrape_examples.rs rustdoc: fix --emit=dep-info on scraped examples 2025-10-29 14:54:54 -07:00
theme.rs Fix new clippy lints 2024-11-28 03:05:43 +01:00
visit.rs Add new doc(attribute = "...") attribute 2025-08-28 15:56:29 +02:00
visit_ast.rs Fix warning messages 2025-12-10 12:27:34 +01:00
visit_lib.rs rustdoc: Don't pass RenderOptions to DocContext 2025-11-11 22:00:28 +00:00

For more information about how librustdoc works, see the rustc dev guide.