0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-25 04:06:55 +01:00
rust/tests/rustdoc/method-link-foreign-trait-impl-17476.rs
2024-06-24 11:08:41 +02:00

15 lines
346 B
Rust

//@ 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 {}