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 ba184b0 commit 1e34590Copy full SHA for 1e34590
tests/rustdoc-html/intra-doc/ice-deprecated-note-on-reexport.rs
@@ -0,0 +1,11 @@
1
+// This test ensures that the intra-doc link in `deprecated` note is resolved at the correct
2
+// location (ie in the current crate and not in the reexported item's location/crate) and
3
+// therefore doesn't crash.
4
+//
5
+// This is a regression test for <https://github.com/rust-lang/rust/issues/151028>.
6
+
7
+#![crate_name = "foo"]
8
9
+#[deprecated(note = "use [`std::mem::forget`]")]
10
+#[doc(inline)]
11
+pub use std::mem::drop;
0 commit comments