about summary refs log tree commit diff
path: root/tests/rustdoc-js/trait-methods.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-21 15:08:24 +0000
committerbors <bors@rust-lang.org>2023-11-21 15:08:24 +0000
commit0ff861096449f47956521b40e5e4e88caa7fe27c (patch)
tree07e12f9e0b9148d06b867ff956badddab02159c9 /tests/rustdoc-js/trait-methods.rs
parente24e5af787f7015914cbf316063ed5821f370b71 (diff)
parentfa8878bdccb17b3228014fe8dd1494c19a233a6f (diff)
downloadrust-0ff861096449f47956521b40e5e4e88caa7fe27c.tar.gz
rust-0ff861096449f47956521b40e5e4e88caa7fe27c.zip
Auto merge of #118134 - Nilstrieb:rollup-kyo1l6e, r=Nilstrieb
Rollup of 6 pull requests

Successful merges:

 - #116085 (rustdoc-search: add support for traits and associated types)
 - #117522 (Remove `--check-cfg` checking of command line `--cfg` args)
 - #118029 (Expand Miri's BorTag GC to a Provenance GC)
 - #118035 (Fix early param lifetimes in generic_const_exprs)
 - #118083 (Remove i686-apple-darwin cross-testing)
 - #118091 (Remove now deprecated target x86_64-sun-solaris.)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'tests/rustdoc-js/trait-methods.rs')
-rw-r--r--tests/rustdoc-js/trait-methods.rs4
1 files changed, 4 insertions, 0 deletions
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<Self::Item>;
+}