2020-12-29 23:16:16 -05:00
|
|
|
#![deny(rustdoc::broken_intra_doc_links)]
|
2020-08-08 14:57:35 -04:00
|
|
|
|
|
|
|
|
#[derive(Debug)]
|
|
|
|
|
/// Link to [`S::fmt`]
|
|
|
|
|
//~^ ERROR unresolved link
|
|
|
|
|
pub struct S;
|
|
|
|
|
|
|
|
|
|
pub mod inner {
|
|
|
|
|
use std::fmt::Debug;
|
|
|
|
|
use super::S;
|
|
|
|
|
|
|
|
|
|
/// Link to [`S::fmt`]
|
|
|
|
|
pub fn f() {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub mod ambiguous {
|
|
|
|
|
use std::fmt::{Display, Debug};
|
|
|
|
|
use super::S;
|
|
|
|
|
|
|
|
|
|
/// Link to [`S::fmt`]
|
|
|
|
|
pub fn f() {}
|
|
|
|
|
}
|