Commit Graph

13 Commits

Author SHA1 Message Date
Guillaume Gomez 5dd3e5e2bf Add a doc_cfg regression test to ensure foreign types impls are working as expected 2026-05-04 00:05:38 +02:00
Guillaume Gomez ba27564259 Keep the original import DefId when inlining items through multiple reexports 2026-05-03 03:27:09 +02:00
Guillaume Gomez d4997ca71d Fix doc_cfg feature on reexports 2026-05-02 18:08:26 +02:00
Jacob Pratt 0a05ddf92b Rollup merge of #155954 - cijiugechu:doc_cfg-decl-macro, r=notriddle
rustdoc: preserve parent doc cfg for `macro_export` macros

The detached-item context is discovered before `propagate_doc_cfg`, it is carried on the clean item and consumed by the pass.

Closes rust-lang/rust#100916
2026-04-30 22:28:27 -04:00
cijiugechu 09e9d3f6da rustdoc: preserve parent doc cfg for macro_export macros 2026-04-30 16:31:22 +08:00
Guillaume Gomez 36138dc0b8 Fix doc_cfg feature for extern items 2026-04-29 18:02:25 +02:00
teor c0441d42ed Fix Mlibc env pretty print to Managarm C Library 2026-04-23 17:07:21 +10:00
usamoi 05081b96c9 fix arch names in cfg pretty printer 2026-04-14 23:38:25 +08:00
Sasha Pourcelot 9f0944832b rustdoc: add missing target_{os,arch,env} values for cfg pretty printer 2026-03-29 16:02:23 +00:00
Sasha Pourcelot c67380d6fe rustdoc: add test showing cfg pretty-printing of all targets 2026-03-29 15:56:39 +00:00
Guillaume Gomez 73fe4c5a3b Add regression test for #153655 2026-03-23 21:25:46 +01:00
Jynn Nelson 84442006ab Rustdoc lints on duplicate, unused, and stable features 2026-03-10 13:18:10 +01:00
Guillaume Gomez a928f3352d Rename tests/rustdoc into tests/rustdoc-html 2026-01-07 14:23:30 +01:00