mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
15 lines
258 B
Rust
15 lines
258 B
Rust
// 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() {}
|