summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/method-link-foreign-trait-impl-17476.rs
blob: e52ab6f38c2a5ea773bd7300a875b51d3e80cc7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// aux-build:issue-17476.rs
// ignore-cross-compile
// https://github.com/rust-lang/rust/issues/17476

#![crate_name="issue_17476"]

extern crate issue_17476;

pub struct Foo;

// @has issue_17476/struct.Foo.html \
//      '//*[@href="http://example.com/issue_17476/trait.Foo.html#method.foo"]' \
//      'foo'
impl issue_17476::Foo for Foo {}