From b84f4cc39e99f801dcd37125dffa67eb796c85b8 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 5 May 2025 17:01:08 +0200 Subject: Created `tests/rustdoc/impl` subfolder to limit number of files at the top level --- tests/rustdoc/impl/struct-implementations-title.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/rustdoc/impl/struct-implementations-title.rs (limited to 'tests/rustdoc/impl/struct-implementations-title.rs') diff --git a/tests/rustdoc/impl/struct-implementations-title.rs b/tests/rustdoc/impl/struct-implementations-title.rs new file mode 100644 index 00000000000..ca5b5c0ee20 --- /dev/null +++ b/tests/rustdoc/impl/struct-implementations-title.rs @@ -0,0 +1,9 @@ +#![crate_name = "foo"] + +pub struct Struc; + +//@ has foo/struct.Struc.html +//@ has - '//*[@id="main-content"]/h2[@id="implementations"]' "Implementations" +impl Struc { + pub const S: u64 = 0; +} -- cgit 1.4.1-3-g733a5