]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-20175.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / 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 {}