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

7 lines
118 B
Rust

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