rust/tests/rustdoc/merge-cross-crate-info/two-separate-out-dir/echo.rs

17 lines
506 B
Rust

//@ aux-build:foxtrot.rs
//@ build-aux-docs
//@ doc-flags:--include-parts-dir=info/doc.parts/foxtrot
//@ doc-flags:-Zunstable-options
//@ has echo/enum.Echo.html
//@ hasraw echo/enum.Echo.html 'Foxtrot'
//@ hasraw trait.impl/foxtrot/trait.Foxtrot.js 'enum.Echo.html'
//@ hasraw search-index.js 'Foxtrot'
//@ hasraw search-index.js 'Echo'
// document two crates in different places, and merge their docs after
// they are generated
extern crate foxtrot;
pub enum Echo {}
impl foxtrot::Foxtrot for Echo {}