rust/tests/rustdoc-ui/issues/issue-103997.rs

7 lines
119 B
Rust

//@ check-pass
pub fn foo() {}
/// [`foo`](Self::foo) //~ WARNING unresolved link to `Self::foo`
pub use foo as bar;