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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
404 B
Rust
Raw Normal View History

//@ 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 {}