about summary refs log tree commit diff
path: root/tests/rustdoc/merge-cross-crate-info/two-separate-out-dir/echo.rs
blob: d79302e62cdc34fbb1d518874e2122ce00d6e623 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//@ 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/name/*.js 'Foxtrot'
//@ hasraw search.index/name/*.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 {}