0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-12-01 13:18:54 +01:00
rust/tests/rustdoc-json/reexport/extern_crate_glob.rs

12 lines
404 B
Rust

// aux-build: enum_with_discriminant.rs
extern crate enum_with_discriminant;
#[doc(inline)]
pub use enum_with_discriminant::*;
// @!has '$.index[*][?(@.docs == "Should not be inlined")]'
// @is '$.index[*][?(@.inner.import)].inner.import.name' \"enum_with_discriminant\"
// @set use = '$.index[*][?(@.inner.import)].id'
// @is '$.index[*][?(@.name == "extern_crate_glob")].inner.module.items[*]' $use