diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-06-13 21:02:26 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-08-28 15:56:30 +0200 |
| commit | 75cbd05d19a7cfb0819f15a57f2561cd28a956a7 (patch) | |
| tree | 57a503a0946816eb448d4d5d8964b9f49493ea1e /tests/rustdoc-gui/src/test_docs/lib.rs | |
| parent | ab0ee84eac9732e4e81e559c688846b4c1bd400a (diff) | |
| download | rust-75cbd05d19a7cfb0819f15a57f2561cd28a956a7.tar.gz rust-75cbd05d19a7cfb0819f15a57f2561cd28a956a7.zip | |
Add tests for `doc(attribute = "...")` attribute
Diffstat (limited to 'tests/rustdoc-gui/src/test_docs/lib.rs')
| -rw-r--r-- | tests/rustdoc-gui/src/test_docs/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/src/test_docs/lib.rs b/tests/rustdoc-gui/src/test_docs/lib.rs index 623f5b33e9b..42f2fbd93b1 100644 --- a/tests/rustdoc-gui/src/test_docs/lib.rs +++ b/tests/rustdoc-gui/src/test_docs/lib.rs @@ -161,6 +161,10 @@ pub enum AnEnum { /// Some keyword. pub mod keyword {} +#[doc(attribute = "forbid")] +/// Some attribute. +pub mod repr {} + /// Just some type alias. pub type SomeType = u32; |
