about summary refs log tree commit diff
path: root/tests/rustdoc/cross-crate-info/write-docs-somewhere-else/e.rs
blob: 6ded19546b886b21a3ac0e5544286a58474d4f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//@ aux-build:f.rs
//@ build-aux-docs
//@ has e/enum.Echo.html
//@ !has f/trait.Foxtrot.html
//@ hasraw e/enum.Echo.html 'Foxtrot'
//@ hasraw trait.impl/f/trait.Foxtrot.js 'enum.Echo.html'
//@ !hasraw search.index/name/*.js 'Foxtrot'
//@ hasraw search.index/name/*.js 'Echo'

// test the fact that our test runner will document this crate somewhere
// else
extern crate f;
pub enum Echo {}
impl f::Foxtrot for Echo {}