about summary refs log tree commit diff
path: root/tests/rustdoc-ui/intra-doc/ice-extern-trait-local-impl-104145.rs
blob: 0e403b21c8a1899ba0e37ece0594da4572b640fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// https://github.com/rust-lang/rust/issues/104145
//@ check-pass

// 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() {}