]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-20175.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / rustdoc / issue-20175.rs
1 pub trait Foo {
2     fn foo(&self) {}
3 }
4
5 pub struct Bar;
6
7 // @has issue_20175/struct.Bar.html \
8 //      '//*[@id="method.foo"]' \
9 //      'fn foo'
10 impl<'a> Foo for &'a Bar {}