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
|
2023-10-16 22:41:04 +00:00
|
|
|
#![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;
|