We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9224387 commit 41f9b57Copy full SHA for 41f9b57
tests/rustdoc/jump-to-non-local-method.rs
@@ -0,0 +1,15 @@
1
+// compile-flags: -Zunstable-options --generate-link-to-definition
2
+
3
+#![crate_name = "foo"]
4
5
+use std::sync::atomic::AtomicIsize;
6
7
+// @has 'src/foo/jump-to-non-local-method.rs.html'
8
+// @has - '//a[@href="https://doc.rust-lang.org/nightly/core/sync/atomic/struct.AtomicIsize.html#method.new"]' 'AtomicIsize::new'
9
10
+pub fn bar() {
11
+ let _ = AtomicIsize::new(0);
12
+ b();
13
+}
14
15
+fn b() {}
0 commit comments