2020-07-14 20:04:41 -04:00
|
|
|
// ignore-test
|
|
|
|
|
// ^ this is https://github.com/rust-lang/rust/issues/73829
|
2020-07-11 13:28:05 -04:00
|
|
|
// aux-build:traits.rs
|
|
|
|
|
// build-aux-docs
|
|
|
|
|
// ignore-tidy-line-length
|
2020-07-29 16:26:32 -07:00
|
|
|
#![deny(intra_doc_resolution_failures)]
|
2020-07-11 13:28:05 -04: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 20:04:41 -04:00
|
|
|
// @has 'traits/struct.SomeStruct.html' '//a[@href="../inner/trait.SomeTrait.html"]' 'a trait'
|
2020-07-11 13:28:05 -04:00
|
|
|
fn foo() {}
|
|
|
|
|
}
|