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 Normal View History

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