]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-20175.rs
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[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 {}