about summary refs log tree commit diff
path: root/tests/rustdoc/reexport
AgeCommit message (Collapse)AuthorLines
2025-08-02Rollup merge of #143662 - obi1kenobi:pg/unsafe-attribute-wrappers, r=t-rustdocSamuel Tardieu-3/+3
[rustdoc] Display unsafe attrs with edition 2024 `unsafe()` wrappers. Use Rust 2024 edition representation for unsafe attributes in rustdoc HTML: - `#[no_mangle]` -> `#[unsafe(no_mangle)]` - `#[export_name = "foo"]` -> `#[unsafe(export_name = "foo")]` - `#[link_section = ".text"]` -> `#[unsafe(link_section = ".text")]` The 2024 edition representation is used regardless of the crate's own edition. This ensures that Rustaceans don't have to learn the rules of an outdated edition (e.g. that `unsafe()` wasn't always necessary) in order to understand a crate's documentation. After some looking through the `T-rustdoc` issues, I was not able to find an existing issue for this. Apologies if I missed it. r? ``````@aDotInTheVoid``````
2025-07-23[rustdoc] Display unsafe attrs with edition 2024 `unsafe()` wrappers.Predrag Gruevski-3/+3
2025-07-22fix regression testbinarycat-3/+7
2025-07-22add regression test for RUST-143222binarycat-0/+24
2025-07-17Regression testJonathan Brouwer-0/+34
2025-07-10Add regression test for #143107Guillaume Gomez-0/+41
2025-06-27rustdoc: add regression test for issue 135092binarycat-0/+26
2025-06-16rustdoc: `{Meta,Pointee,}Sized` in non-minicoreDavid Wood-3/+15
Some rustdoc tests are `no_core` and need to have `MetaSized` and `PointeeSized` added to them.
2025-05-05Created `tests/rustdoc/reexports` subfolder to limit number of files at the ↵Guillaume Gomez-0/+1443
top level