Sign in
rust
/
rust
/
98e8f99bc0401f9ff22dca2290b2bc2c33345a4b
/
.
/
tests
/
rustdoc-html
/
impl
/
impl-ref-20175.rs
blob: b1a9286fd413896041e9287ef66b868bdf053fac [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/20175
#![
crate_name
=
"issue_20175"
]
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
{}