rust/tests/rustdoc/duplicate_impls/sidebar-links-duplicate-impls-33054.rs

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

17 lines
606 B
Rust
Raw Normal View History

// ignore-tidy-linelength
2024-09-12 15:38:24 -05:00
// https://github.com/rust-lang/rust/issues/100679
#![crate_name="foo"]
2024-09-12 15:38:24 -05:00
//@ has foo/impls/struct.Foo.html
//@ has - '//h3[@class="code-header"]' 'impl Foo'
//@ has - '//h3[@class="code-header"]' 'impl Bar for Foo'
//@ count - '//*[@id="trait-implementations-list"]//*[@class="impl"]' 1
//@ count - '//*[@id="main-content"]/div[@id="implementations-list"]/details/summary/*[@class="impl"]' 1
2024-09-12 15:38:24 -05:00
//@ has foo/impls/bar/trait.Bar.html
//@ has - '//h3[@class="code-header"]' 'impl Bar for Foo'
//@ count - '//*[@class="struct"]' 1
pub mod impls;
#[doc(inline)]
pub use impls as impls2;