rust/tests/rustdoc/issue-33178.rs
2023-07-22 12:27:25 +02:00

15 lines
459 B
Rust

// aux-build:empty.rs
// aux-build:variant-struct.rs
// build-aux-docs
// ignore-cross-compile
// @has issue_33178/index.html
// @has - '//a[@title="mod empty"][@href="../empty/index.html"]' empty
pub extern crate empty;
// @has - '//a[@title="mod variant_struct"][@href="../variant_struct/index.html"]' variant_struct
pub extern crate variant_struct as foo;
// @has - '//a[@title="mod issue_33178"][@href="index.html"]' self
pub extern crate self as bar;