rust/tests/rustdoc/method-link-foreign-trait-impl-17476.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
344 B
Rust
Raw Normal View History

// aux-build:issue-17476.rs
// ignore-cross-compile
2023-09-28 00:22:18 +00:00
// 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 {}