]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-20175.rs
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[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 {}