Files
rust/tests
Matthias Krüger cbf7f80d5c Rollup merge of #143555 - obi1kenobi:pg/target-feature-not-unsafe-rustdoc-json, r=aDotInTheVoid
Don't mark `#[target_feature]` safe fns as unsafe in rustdoc JSON.

Fixes https://github.com/rust-lang/rust/issues/142655 by explicitly checking whether functions are safe but using `#[target_feature]`, instead of relying on the `FnHeader::is_unsafe()` method which considers such functions unsafe.

I don't believe this merits a bump of the rustdoc JSON `FORMAT_VERSION` constant, since the format is unchanged and this is just a small bugfix.

r? aDotInTheVoid
2025-07-08 19:29:38 +02:00
..
2025-07-06 18:10:52 -04:00
2025-07-06 18:10:52 -04:00
2025-06-30 07:49:20 -05:00
2025-07-01 19:00:21 +00:00
2025-07-06 09:51:35 +02:00
2025-07-01 15:49:45 +02:00
2025-07-07 03:45:09 +00:00