From 63c50712f40055a60aefc8069661c3847bd27df4 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Fri, 22 Sep 2023 17:27:06 -0700 Subject: rustdoc-search: add support for associated types --- tests/rustdoc-js/trait-methods.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/rustdoc-js/trait-methods.rs (limited to 'tests/rustdoc-js/trait-methods.rs') diff --git a/tests/rustdoc-js/trait-methods.rs b/tests/rustdoc-js/trait-methods.rs new file mode 100644 index 00000000000..c88f5edfd55 --- /dev/null +++ b/tests/rustdoc-js/trait-methods.rs @@ -0,0 +1,4 @@ +pub trait MyTrait { + type Item; + fn next(&mut self) -> Option; +} -- cgit 1.4.1-3-g733a5