2025-01-29 11:20:22 -07:00
|
|
|
// https://github.com/rust-lang/rust/issues/104145
|
|
|
|
|
|
2022-11-13 16:31:00 +03:00
|
|
|
// Doc links in `Trait`'s methods are resolved because it has a local impl.
|
|
|
|
|
|
|
|
|
|
//@ aux-build:issue-103463-aux.rs
|
|
|
|
|
|
|
|
|
|
extern crate issue_103463_aux;
|
|
|
|
|
use issue_103463_aux::Trait;
|
|
|
|
|
|
|
|
|
|
pub struct LocalType;
|
|
|
|
|
|
|
|
|
|
impl Trait for LocalType {
|
|
|
|
|
fn method() {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn main() {}
|