rust/tests/rustdoc/issue-20175.rs

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

11 lines
174 B
Rust
Raw Normal View History

pub trait Foo {
fn foo(&self) {}
}
pub struct Bar;
// @has issue_20175/struct.Bar.html \
// '//*[@id="method.foo"]' \
// 'fn foo'
impl<'a> Foo for &'a Bar {}