rust/tests/rustdoc/cross-crate-info/write-docs-somewhere-else/e.rs

15 lines
404 B
Rust

//@ 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.js 'Foxtrot'
//@ hasraw search-index.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 {}