We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c736e9 commit 41f49aaCopy full SHA for 41f49aa
src/test/rustdoc/issue-83832.rs
@@ -0,0 +1,21 @@
1
+#![crate_name = "foo"]
2
+
3
+pub mod io {
4
+ #[deprecated(since = "0.1.8", note = "Use bar() instead")]
5
+ pub trait Reader {}
6
+ pub trait Writer {}
7
+}
8
9
+// @has foo/mod1/index.html
10
+pub mod mod1 {
11
+ // @has - '//code' 'pub use io::Reader;'
12
+ // @has - '//span' 'Deprecated'
13
+ pub use io::Reader;
14
15
16
+// @has foo/mod2/index.html
17
+pub mod mod2 {
18
+ // @has - '//code' 'pub use io::Writer;'
19
+ // @!has - '//span' 'Deprecated'
20
+ pub use io::Writer;
21
0 commit comments