about summary refs log tree commit diff
path: root/src/test/rustdoc/auxiliary/issue-99734-aux.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-05 20:06:44 +0000
committerbors <bors@rust-lang.org>2022-08-05 20:06:44 +0000
commit6f955bfdfe093edccd6936603d4a8a548293dcf5 (patch)
tree93222bb89d489e168c61a6cdf19fb08ead0abedf /src/test/rustdoc/auxiliary/issue-99734-aux.rs
parent7410ebb8f69516d0034cc99793bc3dcbc84d4a9b (diff)
parent8482bac7be42cbb44a48ed85b018c490de3b4493 (diff)
downloadrust-6f955bfdfe093edccd6936603d4a8a548293dcf5.tar.gz
rust-6f955bfdfe093edccd6936603d4a8a548293dcf5.zip
Auto merge of #100171 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
[beta] Rollup of beta backports

Includes the following PRs:

*  rustc-docs: Be less specific about the representation of +bundle #100074
*  Fix backwards-compatibility check for tests with +whole-archive #100068
*  Revert write! and writeln! to late drop temporaries #99689
*  Upgrade indexmap and thorin-dwp to use hashbrown 0.12 #99251
*  rustdoc: avoid inlining modules with duplicate names #99738

r? `@ghost`
Diffstat (limited to 'src/test/rustdoc/auxiliary/issue-99734-aux.rs')
-rw-r--r--src/test/rustdoc/auxiliary/issue-99734-aux.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/rustdoc/auxiliary/issue-99734-aux.rs b/src/test/rustdoc/auxiliary/issue-99734-aux.rs
new file mode 100644
index 00000000000..c842a46817e
--- /dev/null
+++ b/src/test/rustdoc/auxiliary/issue-99734-aux.rs
@@ -0,0 +1,11 @@
+pub struct Option;
+impl Option {
+    pub fn unwrap(self) {}
+}
+
+/// [`Option::unwrap`]
+pub mod task {}
+
+extern "C" {
+    pub fn main() -> std::os::raw::c_int;
+}