summary refs log tree commit diff
path: root/src/test/rustdoc/issue-100204-inline-impl-through-glob-import.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-08 22:45:42 +0000
committerbors <bors@rust-lang.org>2022-08-08 22:45:42 +0000
commit4b91a6ea7258a947e59c6522cd5898e7c0a6a88f (patch)
treea5d704509e35b20650090e5b5df04e07b88902be /src/test/rustdoc/issue-100204-inline-impl-through-glob-import.rs
parent6f955bfdfe093edccd6936603d4a8a548293dcf5 (diff)
parent7ddc9b7026115a89a59c0e27d2002f828ee1056c (diff)
downloadrust-1.63.0.tar.gz
rust-1.63.0.zip
Auto merge of #100273 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum 1.63.0
[stable] 1.63.0 release

Includes cherry picks of:

* https://github.com/rust-lang/rust/pull/100207
* https://github.com/rust-lang/rust-clippy/pull/9302
*  Avoid ICE in rustdoc when using Fn bounds #100205

r? `@Mark-Simulacrum`
Diffstat (limited to 'src/test/rustdoc/issue-100204-inline-impl-through-glob-import.rs')
-rw-r--r--src/test/rustdoc/issue-100204-inline-impl-through-glob-import.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-100204-inline-impl-through-glob-import.rs b/src/test/rustdoc/issue-100204-inline-impl-through-glob-import.rs
new file mode 100644
index 00000000000..3e20c5c0741
--- /dev/null
+++ b/src/test/rustdoc/issue-100204-inline-impl-through-glob-import.rs
@@ -0,0 +1,14 @@
+// aux-build:issue-100204-aux.rs
+// build-aux-docs
+// ignore-cross-compile
+
+#![crate_name="second"]
+
+extern crate first;
+
+pub mod prelude {}
+
+// @has first/struct.Bot.html '//h4[@class="code-header"]' 'pub fn new() -> Bot'
+// @has second/struct.Bot.html '//h4[@class="code-header"]' 'pub fn new() -> Bot'
+#[doc(inline)]
+pub use first::*;