]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/issue-19055.rs
1 // @has issue_19055/trait.Any.html
4 impl<'any
> Any
+ 'any
{
5 // @has - '//*[@id="method.is"]' 'fn is'
6 pub fn is
<T
: '
static>(&self) -> bool { loop {}
}
8 // @has - '//*[@id="method.downcast_ref"]' 'fn downcast_ref'
9 pub fn downcast_ref
<T
: '
static>(&self) -> Option
<&T
> { loop {}
}
11 // @has - '//*[@id="method.downcast_mut"]' 'fn downcast_mut'
12 pub fn downcast_mut
<T
: '
static>(&mut self) -> Option
<&mut T
> { loop {}
}
19 // @has - '//*[@id="method.foo"]' 'fn foo'