2020-07-11 12:28:05 -05:00
|
|
|
// aux-build:traits.rs
|
|
|
|
// build-aux-docs
|
2021-11-26 17:03:16 -06:00
|
|
|
#![deny(rustdoc::broken_intra_doc_links)]
|
2020-07-11 12:28:05 -05:00
|
|
|
|
|
|
|
extern crate inner;
|
|
|
|
use inner::SomeTrait;
|
|
|
|
|
|
|
|
pub struct SomeStruct;
|
|
|
|
|
|
|
|
// @has 'traits/struct.SomeStruct.html' '//a[@href="../inner/trait.SomeTrait.html"]' 'SomeTrait'
|
|
|
|
impl SomeTrait for SomeStruct {
|
2020-07-14 19:04:41 -05:00
|
|
|
// @has 'traits/struct.SomeStruct.html' '//a[@href="../inner/trait.SomeTrait.html"]' 'a trait'
|
2020-07-11 12:28:05 -05:00
|
|
|
fn foo() {}
|
|
|
|
}
|