rust/tests/rustdoc-json
Will Glynn 8c50f95cf0 rustdoc: Output target feature information
`#[target_feature]` attributes refer to a target-specific list of
features. Enabling certain features can imply enabling other features.
Certain features are always enabled on certain targets, since they are
required by the target's ABI. Features can also be enabled indirectly
based on other compiler flags.

Feature information is ultimately known to `rustc`. Rather than force
external tools to track it -- which may be wildly impractical due to
`-C target-cpu` -- have `rustdoc` output `rustc`'s feature data.
2025-04-15 21:26:14 -05:00
..
attrs rustdoc-json: Add test for #[automatically_derived] attribute 2025-03-31 20:42:49 +00:00
auxiliary rustdoc-json: Rename Path::name to path, and give it path (again). 2025-01-22 19:29:48 +00:00
enums rustdoc: Use own logic to print #[repr(..)] attributes in JSON output. 2025-03-22 18:47:12 +00:00
fn_pointer tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
fns tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
generic-associated-types tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
impls tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
intra-doc-links tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
lifetime tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
methods tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
primitives tests/rustdoc-json: change assertions to use RFC 9535 jsonpath 2025-03-21 00:48:09 +00:00
reexport tests/rustdoc-json: change assertions to use RFC 9535 jsonpath 2025-03-21 00:48:09 +00:00
statics tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
structs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
targets rustdoc: Output target feature information 2025-04-15 21:26:14 -05:00
traits tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
type tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
unions tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
assoc_items.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
assoc_type.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
blanket_impls.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
doc_hidden_failure.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
generic_impl.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
glob_import.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
impl-trait-in-assoc-type.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
impl-trait-precise-capturing.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
keyword.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
keyword_private.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
nested.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
non_lifetime_binders.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
output_generics.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
path_name.rs tests/rustdoc-json: replace $.paths[*][? with $.paths[? 2025-03-21 00:48:09 +00:00
pub_mod_in_private_mod.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
return-type-notation.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
return_private.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
stripped_modules.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
the_smallest.rs rustdoc-json: discard non-local inherent impls 2024-08-05 11:19:22 +01:00
trait_alias.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00
type_alias.rs tests/rustdoc-json: replace $.index[*][? with $.index[? 2025-03-21 00:48:09 +00:00