rust/tests/rustdoc/link-extern-crate-33178.rs

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

18 lines
543 B
Rust
Raw Permalink Normal View History

2016-04-25 01:24:50 -05:00
//@ aux-build:empty.rs
//@ aux-build:variant-struct.rs
//@ build-aux-docs
//@ ignore-cross-compile
2023-10-16 18:12:17 -05:00
// https://github.com/rust-lang/rust/issues/33178
#![crate_name="issue_33178"]
//@ has issue_33178/index.html
//@ has - '//a[@title="mod empty"][@href="../empty/index.html"]' empty
2016-04-25 01:24:50 -05:00
pub extern crate empty;
//@ has - '//a[@title="mod variant_struct"][@href="../variant_struct/index.html"]' variant_struct
2016-04-25 01:24:50 -05:00
pub extern crate variant_struct as foo;
2023-07-21 16:10:07 -05:00
//@ has - '//a[@title="mod issue_33178"][@href="index.html"]' self
2023-07-21 16:10:07 -05:00
pub extern crate self as bar;