diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2023-08-15 10:10:35 +0200 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2023-09-18 19:30:10 +0200 |
| commit | 64fa12a4fb1447e3368ae2cd08cf75ea576997ea (patch) | |
| tree | 3466dd26ba23f85690b56604d89b7b54af3f77e4 /tests/rustdoc/inline_cross/attributes.rs | |
| parent | cbcf9a5368c0d8b6d0b5784201471475cb3496a3 (diff) | |
| download | rust-64fa12a4fb1447e3368ae2cd08cf75ea576997ea.tar.gz rust-64fa12a4fb1447e3368ae2cd08cf75ea576997ea.zip | |
rustdoc: hide repr(transparent) if it isn't part of the public ABI
Diffstat (limited to 'tests/rustdoc/inline_cross/attributes.rs')
| -rw-r--r-- | tests/rustdoc/inline_cross/attributes.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc/inline_cross/attributes.rs b/tests/rustdoc/inline_cross/attributes.rs new file mode 100644 index 00000000000..c0b75c48fee --- /dev/null +++ b/tests/rustdoc/inline_cross/attributes.rs @@ -0,0 +1,7 @@ +// aux-crate:attributes=attributes.rs +// edition:2021 +#![crate_name = "user"] + +// @has 'user/struct.NonExhaustive.html' +// @has - '//*[@class="rust item-decl"]//*[@class="code-attribute"]' '#[non_exhaustive]' +pub use attributes::NonExhaustive; |
