rust/tests/rustdoc/intra-doc/trait-item.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
356 B
Rust
Raw Normal View History

#![deny(rustdoc::broken_intra_doc_links)]
2020-08-06 22:33:29 +00:00
/// Link to [S::assoc_fn()]
/// Link to [Default::default()]
// @has trait_item/struct.S.html '//*[@href="struct.S.html#method.assoc_fn"]' 'S::assoc_fn()'
// @has - '//*[@href="{{channel}}/core/default/trait.Default.html#tymethod.default"]' 'Default::default()'
2020-08-06 22:33:29 +00:00
pub struct S;
impl S {
pub fn assoc_fn() {}
}