2023-04-14 12:53:57 -05:00
|
|
|
// Regression Test for https://github.com/rust-lang/rust/issues/110138
|
|
|
|
// aux-build: enum_with_discriminant.rs
|
2023-05-22 12:17:52 -05:00
|
|
|
// ignore-tidy-linelength
|
2023-04-14 12:53:57 -05:00
|
|
|
|
|
|
|
#[doc(inline)]
|
|
|
|
pub extern crate enum_with_discriminant;
|
|
|
|
|
|
|
|
// @!has '$.index[*][?(@.docs == "Should not be inlined")]'
|
2023-05-22 12:17:52 -05:00
|
|
|
// @has '$.index[*][?(@.name == "enum_with_discriminant")].inner.extern_crate'
|
2023-04-14 12:53:57 -05:00
|
|
|
// @set enum_with_discriminant = '$.index[*][?(@.name == "enum_with_discriminant")].id'
|
2023-05-22 12:17:52 -05:00
|
|
|
// @is '$.index[*][?(@.name == "doc_inline_external_crate")].inner.module.items[*]' $enum_with_discriminant
|