548b6e197d
* Adds tests for the behavior from rfc#3662 in `tests/rustdoc/`
21 lines
712 B
Rust
21 lines
712 B
Rust
//@ aux-build:tango.rs
|
|
//@ build-aux-docs
|
|
//@ doc-flags:--merge=finalize
|
|
//@ doc-flags:--enable-index-page
|
|
//@ doc-flags:-Zunstable-options
|
|
|
|
//@ has index.html
|
|
//@ has index.html '//h1' 'List of all crates'
|
|
//@ has index.html '//ul[@class="all-items"]//a[@href="sierra/index.html"]' 'sierra'
|
|
//@ has index.html '//ul[@class="all-items"]//a[@href="tango/index.html"]' 'tango'
|
|
//@ has sierra/struct.Sierra.html
|
|
//@ has tango/trait.Tango.html
|
|
//@ hasraw sierra/struct.Sierra.html 'Tango'
|
|
//@ hasraw trait.impl/tango/trait.Tango.js 'struct.Sierra.html'
|
|
//@ hasraw search-index.js 'Sierra'
|
|
|
|
// write only overwrites stuff in the output directory
|
|
extern crate tango;
|
|
pub struct Sierra;
|
|
impl tango::Tango for Sierra {}
|