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