diff options
Diffstat (limited to 'tests/rustdoc-ui/issues/ice-unresolved-self-103997.rs')
| -rw-r--r-- | tests/rustdoc-ui/issues/ice-unresolved-self-103997.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/issues/ice-unresolved-self-103997.rs b/tests/rustdoc-ui/issues/ice-unresolved-self-103997.rs new file mode 100644 index 00000000000..b6ba4e48cff --- /dev/null +++ b/tests/rustdoc-ui/issues/ice-unresolved-self-103997.rs @@ -0,0 +1,7 @@ +//@ check-pass +// https://github.com/rust-lang/rust/issues/103997 + +pub fn foo() {} + +/// [`foo`](Self::foo) //~ WARNING unresolved link to `Self::foo` +pub use foo as bar; |
